The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Environment variables... by MrTrick 2004-05-11 21:21:32
If I have a large text file with about 30 environment variables defined in it, what's the easiest automated way to add them all to the OS?

And I said *automated*, so I don't mean entering them by hand. I know it's easy, but it's error-prone, and this program installation should be scripted.
[ Reply ]
  Don't make us hit you with the ClueX4! by Naruki2004-05-11 21:23:21
    Heh... oops. WinNT4 or WinXP by MrTrick2004-05-11 21:30:54
  A WinNT example (in a bat file I use) by Kickstart2004-05-11 21:54:59
    Isn't that only for the session, though? by MrTrick2004-05-11 22:39:52
      How do you mean session? by Kickstart2004-05-11 23:00:44
        Well, this should be a permanent thing... by MrTrick2004-05-11 23:07:41
  This page may help by ToLazyToThink2006-11-19 12:55:59
    The 001 and 002 entries are backups IIRC. by ChuckAB2004-05-12 06:32:49

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)