Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Issue with env variables set through dos batch

by Marshall (Canon)
on Oct 15, 2011 at 15:55 UTC ( [id://931672]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Issue with env variables set through dos batch
in thread Issue with env variables set through dos batch

In general if you set ENV variables in a shell and then launch a program from that shell's environment, the program will inherit the environment variables.

I you want some ENV variables to apply to any command line window, Go to Control Panel|System|Environment Variables, change them and then set them "to apply to all future command line windows". This is for example, how you would set "PATH" to be persistent.

If this is a "one off" thing, then I would pass special settings as part of @ARG.

  • Comment on Re^3: Issue with env variables set through dos batch

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://931672]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found