environment variable PATH

Discussion, questions and support.
Post Reply
Message
Author
f2013
Posts: 2
Joined: 28.07.2013, 17:04

environment variable PATH

#1 Post by f2013 » 28.07.2013, 18:22

I use FreeCommander 2009.02b and want to use some of my DOS batches via SendTo. However they depend on tools I have in a special directory that is defined in the user environment variable PATH.

My scripts work from the Windows Explorer but not from FreeCommander. It seems the user environment variable PATH is not respected by FreeCommander for any reason. Even in the DOS box of FreeCommander the PATH variable contains only the standard system dirs.

Is there a way to copy the PATH variable to the FreeCommander environment or to specify a directory by hand in the ini?
I don't really want to hardcode the full path of every tool into my scripts.

Thanks for help!

f2013
Posts: 2
Joined: 28.07.2013, 17:04

Re: environment variable PATH (workaround)

#2 Post by f2013 » 30.07.2013, 09:35

BTW: TC is doing it fine but since I prefer Freeware over Shareware I helped myself with this line at the beginning of each of my scripts:

path | findstr /c:Q:\clitools > NUL || set PATH=%PATH%;Q:\clitools

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests