View Full Version : %systemroot% etc

03-03-2004, 12:39 AM
not sure if i found the right forum for this, but can anyone point me towards a list of all of these windows variables. I'm trying to come up with a basic batch file installer and i need to know the one that'll let me get the path to the desktop.


03-03-2004, 03:40 AM
Use %homepath%\desktop\

03-03-2004, 04:02 PM
ta. Does anyone know of a list i can use for future reference? i had a look on MSDN but couldn't find them.

Roy Sinclair
03-03-2004, 04:49 PM
Start a command prompt, run the "set" command with no parameters and it'll list all the environment variables.

03-05-2004, 01:33 PM
Hey that's pretty cool! Never knew that before. :):thumbsup: