Ofer Arial
Ofer Arial

Reputation: 1139

Windows environment variable that runs a script

Is it possible to set a environment variable in Windows 7 that will run a python script when called? Couldn't do it when I tried.

Upvotes: 0

Views: 104

Answers (1)

Bryan Oakley
Bryan Oakley

Reputation: 385970

No, there is no way to set an environment variable that calls a function when addressed. That's simply not something that environment variables can do.

Upvotes: 1

Related Questions