vspacer
 
vspacer
 

ssnpl

 

Purpose

If you know any one of a SourceSafe file's number, physical, or logical path, this tool will show you the other two even if the file or project has been individually deleted or is logically deleted because one or more of it's parent projects have been deleted.

SS

Tested with SourceSafe version 5.0.

OS

Windows NT Command line utility.

Usage
File number (hex)     : ssnpl 0x309f1020ff     PathToVssDataDirectory
            (decimal) : ssnpl 208827064575     PathToVssDataDirectory
Physical File Name    : ssnpl zzzzzzzz         PathToVssDataDirectory
Logical File Name     : ssnpl $/roo/foo.bar    PathToVssDataDirectory
if spaces in file name: ssnpl "$/Test One Two" PathToVssDataDirectory

Outputs


Number
ssnpl 0x2c7f2 s:\vss\data
Physical=[ypjkaaaa]
Number Decimal=[182258] Hex=[2c7f2]
Logical=[$/Test/Project1/date.java]

Physical
ssnpl ypjkaaaa s:\vss\data
Physical=[ypjkaaaa]
Number Decimal=[182258] Hex=[2c7f2]
Logical=[$/Test/Project1/date.java]

Logical
ssnpl $/Test/Project1/date.java s:\vss\data
AAAAAAAA  $
  :..WPJKAAAA  Test
     :..XPJKAAAA  Project1  [Deleted]
        :..YPJKAAAA  date.java  [Deleted]
Physical=[YPJKAAAA]
Number Decimal=[182258] Hex=[2c7f2]
Logical=[$/Test/Project1/date.java]
Info : Project1 is marked as deleted thus logically deleting any childen it has.

In this case date.java has not only been specifically deleted, but is logically deleted as well.

Exploring

If you are not sure of the complete path, you can explore down the tree by entering a logical path with a terminating 'foo' or somesuch. The tool will then show you the children of the last valid project, and you can use this information to refine the next query.

ssnpl $/Test/Project1/foo s:\vss\data
AAAAAAAA  $
  :..WPJKAAAA  Test
     :..XPJKAAAA  Project1  [Deleted]
ERROR : foo is not a child of Project1.
Check input path spelling.
Project children are:
VGKKAAAA           access.java
YPJKAAAA [Deleted] date.java
ISLKAAAA           Project2
WGKKAAAA [Deleted] time.java

Installation

Copy the program into the directory where you want to run it. It's stand-alone and requires no configuration or support.

Download

ssnpl 1.6 (66 KB)


   


Back to top | ZDS Home | This article updated January 15, 2004.