FileForums

FileForums (https://fileforums.com/index.php)
-   Software (https://fileforums.com/forumdisplay.php?f=32)
-   -   Enviroment Variables (https://fileforums.com/showthread.php?t=104514)

acal3000 27-06-2021 04:35

Enviroment Variables
 
Just as the title says What could be a practical usage of the operating system enviroment variables?...

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. :(


All times are GMT -7. The time now is 21:15.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com