hi,
Not sure if this is the correct forum, but I am intending on implementing the answer to this in C++ if necessary.
I have a script which needs to 'cd' to a directory in order to run some commands from there (clearcase requires that that is the current directory, crap I know). You cannot have a UNC directory as the current working directory under DOS.
this directory is mapped to a share \\127.0.0.1\views on every machine. However the 'real' directory could be anywhere e.g. c:\local_views or d:\myviews
Is there any way I can query the \\127.0.0.1\views and get from it the relevant local directory e.g. d:\myviews.
If I there is a windows API for this I can write a utility to do this in C++, although I am open to any suggestions.
Thanks,
Not sure if this is the correct forum, but I am intending on implementing the answer to this in C++ if necessary.
I have a script which needs to 'cd' to a directory in order to run some commands from there (clearcase requires that that is the current directory, crap I know). You cannot have a UNC directory as the current working directory under DOS.
this directory is mapped to a share \\127.0.0.1\views on every machine. However the 'real' directory could be anywhere e.g. c:\local_views or d:\myviews
Is there any way I can query the \\127.0.0.1\views and get from it the relevant local directory e.g. d:\myviews.
If I there is a windows API for this I can write a utility to do this in C++, although I am open to any suggestions.
Thanks,