Hi all,
I have followed the tutorial in the forums here for using the command line to checkout and in files using vss. Almost works great except for one stumbling block.
In my work environment, all files are located on a networked drive, which I map to a local drive and then open files from there, so typically a full working path for a file might read something like
z:\projectA\http\myfile.html
here's my problem, I want to check out this file but in the VSS client the project listing for this file follows a structure similar to
$\projectA\http\myfile.html
so using this command
ss.exe checkout %p%n%e doesn't work since that assumes it is trying to checkout a file like this
ss.exe checkout z:\projectA\http\myfile.html
when infact it needs to be checking out a file like this
ss.exe checkout $\projectA\http\myfile.html
so my question is, is there any way to do a replace on the %p to remove the drive letter? or even any reference to say z:?
Any help would be much appreciated!
Cheers
Mike
I have followed the tutorial in the forums here for using the command line to checkout and in files using vss. Almost works great except for one stumbling block.
In my work environment, all files are located on a networked drive, which I map to a local drive and then open files from there, so typically a full working path for a file might read something like
z:\projectA\http\myfile.html
here's my problem, I want to check out this file but in the VSS client the project listing for this file follows a structure similar to
$\projectA\http\myfile.html
so using this command
ss.exe checkout %p%n%e doesn't work since that assumes it is trying to checkout a file like this
ss.exe checkout z:\projectA\http\myfile.html
when infact it needs to be checking out a file like this
ss.exe checkout $\projectA\http\myfile.html
so my question is, is there any way to do a replace on the %p to remove the drive letter? or even any reference to say z:?
Any help would be much appreciated!
Cheers
Mike