runnign applications from UNC paths

  • Thread starter Thread starter lbrtchx
  • Start date Start date
L

lbrtchx

~
I have an application on a Windows FS which is running from a shared
directory in some other box
~
The thing is that this application uses environment variables that
need to be set at run time and it also sets some other directories
based on well-known local folders, like the one from which it was run
through a batch file
~
Now, the thing is that when you go -pushd- and -popd- in that box the
label Windows uses for this directory is "Z:", so many environment
variables I set based on "Z:" and app runs locally without any
problems, but when I try to run the application from my box the label
used is "H:", so many of the environment variables that are set in the
batch files don't work from there
~
How can you fixed this, so that you can effectively run remote
applications from your box?
~
Thanks
lbrtchx
 
~
I have an application on a Windows FS which is running from a shared
directory in some other box
~
The thing is that this application uses environment variables that
need to be set at run time and it also sets some other directories
based on well-known local folders, like the one from which it was run
through a batch file
~
Now, the thing is that when you go -pushd- and -popd- in that box the
label Windows uses for this directory is "Z:", so many environment
variables I set based on "Z:" and app runs locally without any
problems, but when I try to run the application from my box the label
used is "H:", so many of the environment variables that are set in the
batch files don't work from there

Use the net use command to force the share to a known drive letter, or use
relative paths in your variables.

net use z: blah blah
 
Back
Top