set Time zone on windows xp [closed] - command-line

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
What single command (for use in a batch file) will change the PC's
time zone to GMT+10
Is there a line command which will do this directly?
I have started to look at the "Time And Date" control panel but it
doesn't quite do what I want ...
The following command opens the "Time And Date" control panel and
selects the time zone tab. But what do I do to automatically select
the GMT+10 setting and then close the control panel?
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1

Use this for Windows XP:
runDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z (GMT+10:00) Brisbane
Or this for Windows 7:
TZUTIL /S "E. Australia Standard Time"

I suppose that Powershell CMD-lets can solve your problem. Here you can get more information about it: Technet Support

Related

Powershell and command line are only running in legacy mode under Windows 10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How can I solve it? Have no clue why that happens.
Given result
If I uncheck legacy mode the consoles stopped running: after opening the window freezes and nothing more happens (affect either PowerShell and command line):
Expected result
PowerShell and command line can be used in regular mode and are not rely to run in legacy mode.
If it runs in legacy mode but both Powershell and CMD freeze then there's probably something wrong with your windows install.
There's a variety of ways and programs you can use to try and troubleshoot (like Microsoft Sysinternals) but that's beyond the scope of what Stack Overflow is for
Here's a couple Stack Exchange sites you can ask for help troubleshooting the OS:
Super User for end user machines
Server Fault for network admins and servers

How can i make my custom command available to all user in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have written a custom command under user 'krishna' on my laptop, and now i want it to be available for other all user without redefining to each user. For now, i have defined the command in /home/krishna/.bashrc As this file exist under user krishna and work only for krishna. is there any way i can defile it globally for all users?
You can define the command in the /etc/bashrc or /etc/bash.bashrc file (which one depends on your distribution). One of these should exist on your machine.
Commands you define in your local /home/[USER]/.bashrc are only available for [USER].
Commands or aliase defined in /etc/bashrc are available for all useres

How Can I Determine the Drive Letter for the Drive My Script is Currently Running On? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I will need to find a way of knowing what drive my usb is on, so I could copy some files from the PC on to the flash drive. I already know how to do this using powershell, however I need a way of doing it via .bat and cmd.
Thanks in advance.
Your running script is always, %0 and the drive letter holding your running script can be referenced using variable modifiers.
From Call/?
%~d1 - expands %1 to a drive letter only
Example:
Echo %~d0

Where does windows commandline ftp download to? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am running ftp in windows command line and the operating system in windows 7.
Where do files get downloaded to locally when i do a get operation?
The command line ftp client uses the current working directory (which can be changed with the lcd command)

qemu failed in loadvm while the guest system is windows xp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
The guest system is in Windows XP and in the monitor.
First I run savevm test which looks ok
Then i run loadvm, the system xp halted, all i can do is run system_reset in the monitor to restart the xp system.
Does anyone know why?
Here's what I found: using -rtc base=localtime,clock=vm, I can restore it. I think that the sudden jump in clock time is what freezes the OS.
Note that you can then adjust the clock inside the guest if needed.