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!
environment variable PATH
Re: environment variable PATH (workaround)
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
path | findstr /c:Q:\clitools > NUL || set PATH=%PATH%;Q:\clitools
Who is online
Users browsing this forum: No registered users and 134 guests