MassDaemon wrote:Windows XP is still using "Environmental Variables"
Yeah but those aren't designed for use in DOS. forget DOS batch files & just go for windows scripting like inked says. More powerful, more environment variables, & such.
If you don't wanna do that for some reason but still want to use DOS .bat files (and don't want to use two separate ones), let me know & I'll show ya how to pull it off. It's a fair bit more complex though. (involves running a .com file file I can give you which returns errorcodes to check for in your .bat) --- (a windows script inkedmn could write would be a much better method to use, though)