Thread: Batch file
View Single Post
Old 12-21-2004, 11:45 AM   #4 (permalink)
Rigel_Kent
New Member
 
Join Date: Dec 2004
Posts: 15
Default Environment variables

Hi,

You're both right; %systemdirectory% is a value taken from a dll, it's not a msdos environment variable. I made this mistake because one article in the Net made an extreme confusion about the different env. variables that exist.
The only problem is that %systemroot% returns c:\windows when I expected c:\windows\system32.
Only %conSpec% returns something like c:\windows\system32\cmd.exe.

Meanwhile, does anyone knows how to run a batch file without the cmd window appears?

Regards,

Rigel_Kent
Rigel_Kent is offline   Reply With Quote