is it possible to set an environment path in windows environment like this:

%tor% = "C:\users\user\blah blah\tor"

and then configure the torrc file to use this path for Data Directories? Like this:

DataDirectory %tor%\Data Directories\Data1\Tor

GeoIPFile %tor%\Data Directories\Data1\Tor\geoip

GeoIPv6File %tor%\Data Directories\Data1\Tor\geoip6

  • Currently, it just reads the %tor% environment variable as part of the string. Not entirely sure if this is possible, figured I'd ask anyways.
    – PoorBob
    Jun 25 '15 at 23:30

Not currently. Neither the Tor Windows nor Linux version make any calls for environment variables like that.

Unrelated to Tor, developers/admins will sometimes hack around situations similar to this by building flat files off of the environment variables before an application executes. I've only seen these as shims/wrappers and not a long term solution though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.