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
|