Purpose |
This simple utility enables or disables SourceSafe security. It is designed to be used in the ssrepair batch file.
It achieves programatically the same effect as checking the [ ] Enable Security checkbox on the 'Project Security' Tab under the Tools/Option menu of the ssadmin GUI tool.
|
How it Works |
Byte 13 in the rights.dat file is set to : 0x01 = Security ON. 0x00 = Security OFF |
SS |
Tested with SourceSafe V5.0, V6.0. |
OS |
Windows NT/2K/XP Command line utility. |
Usage |
sssecurity [STATUS|ENABLE|DISABLE] [PathToVssData]
|
Example |
sssecurity STATUS "c:\program files\microsoft visual studio\common\vss\data" |
| Returns Errorlevel |
0 = Success
1 = Rights.dat file not found
2 = Position in Rights file failed
3 = Invalid argument
4 = File flag invalid: not 0 or 1
5 = flag read failed
6 = flag write back failed
|
Installation |
Copy the program into the directory where the batch file using it will run.
|
Download |
sssecurity 1.4 (45 KB)
|