System-specific values. (I assume you're talking about Windows.) Not all Windows installations are in "C:\Windows" or applications in "C:\Program Files". The directory for temporary files can vary, too. The computer name obviously is different from system to system. You can query those values from the Windows API but not in batch files; only environment variables are available there. Unfortunately, Microsoft didn't think it out much (either) so there aren't many environment variables set up by the system. That's one of the reasons why serious programming in batch files is next to impossible.
__________________
Joe Forster/STA
For more information, see the
FileForums forum rules and the
PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage:
http://sta.c64.org, E-mail:
[email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!