Joe Forster/STA |
27-06-2021 08:00 |
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. :(
|