Need help with VSS 5.0 recursive diff command line

VSS 5.0 is installed on my C: drive at C:\DevStudio\Vss\Win32\ss.exe
My project files are located on my D: drive at D:\WebSites\MyProject

I opened a command window, changed the directory to C:\DevStudio\Vss\Win32 and ran the following command:

      ss diff -r "$/My Project/Web Site" D:\WebSites\MyProject

It just says "D:\WebSites\MyProject" not found.
If I try it without the folder location, it compares the project to the files in C:\DevStudio\Vss\Win32.

Can someone help me with this? Thank you in advance.
LVL 1
ZekeLAAsked:
Who is Participating?
 
ZekeLAAuthor Commented:
I finally figured it out from this link after searching on ssdir: http://social.msdn.microsoft.com/Forums/en-US/vssourcecontrol/thread/d645fa9f-7726-445c-b2ef-b0f023f8c7fb

set path=%path%;c:\path\to\vss
set ssdir=c:\path\to\database
ss cp $/path/to/project
ss [command]

The key is to run this from the working folder. In my case, I needed to do this:

cd /d D:\WebSites\MyProject
ss diff -r
0
 
Mohamed OsamaSenior IT ConsultantCommented:
try this first before the ss diff command
set ssdir=D:\WebSites\MyProject
then run the command ss diff -r "$/My Project/Web Site"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.