runnign applications from UNC paths

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
 
F

foxidrive

~
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top