Go Back   FileForums > Off Topic > Software

Reply
 
Thread Tools Display Modes
  #1  
Old 27-06-2021, 05:35
acal3000 acal3000 is offline
Registered User
 
Join Date: Dec 2004
Location: Dancing with the Death
Posts: 465
Thanks: 0
Thanked 9 Times in 6 Posts
acal3000 is on a distinguished road
Enviroment Variables

Just as the title says What could be a practical usage of the operating system enviroment variables?...
Reply With Quote
Sponsored Links
  #2  
Old 27-06-2021, 09:00
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,683
Thanks: 10
Thanked 291 Times in 184 Posts
Joe Forster/STA is on a distinguished road
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!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ultimate Conversion Compressor (UCC) vollachr Conversion Tutorials 55 26-04-2021 10:27
i got a question about variables in inno ahmedwaill Conversion Tutorials 13 26-02-2019 09:19



All times are GMT -7. The time now is 02:45.


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