Archive for March 6th, 2009

Environment Variables in Windows

What environment variables are available in Windows?
List of the environment variables callable in windows 2000. e.g. Open a cmd prompt and type echo %appdata% which should return the full path to your profile’s Application Data directory. If calling from a batch file remember to quote the %variable% e.g.
IF EXIST “%appdata%”workravehistorystats. (mkdir D:AllMyFilesWorkrave.) ELSE echo [...]

Continue reading »

batch file help sites

I can get my all batch file help from here:
http://www.ss64.com/nt/
www.computerhope.com/batch.htm

Continue reading »

User Input in Windows 2000 Batch Files – Solutions by PC Magazine

@ECHO OFF
CLS
:LOOP
ECHO A. Menu item A
ECHO B. Menu item B
ECHO C. Menu item C
ECHO Q. Quit
:: SET /P prompts for input and sets the variable
:: to whatever the user types
SET Choice=
SET /P Choice=Type the letter and press Enter:
:: The syntax in the next line extracts the substring
:: starting at 0 (the beginning) and 1 character [...]

Continue reading »

Find Out How Long Windows XP Has Been Running

Uptime is the length of time that your operating system has been up and running. In other words, how long has it been since the last reboot? If you rarely reboot your computer, you may be interested in finding out how long Windows XP has been running. You can accomplish from the command prompt by [...]

Continue reading »