Visual SourceSafe(VSS)相關的8個環境變數

magicgao8888發表於2009-03-23
Microsoft Visual SourceSafe 作為最常用的版本控制工具, 有些變數是比較常用的.
Visual SourceSafe定義了8個環境變數,他們分別是:PATH、SSCURPRJ、SSDEBUGTIME、SSDIR、SSINI、SSINIENV、SSPWD、SSUSER
其中最常用的是以下四個:
PATH:定義了使用者執行的命令在系統中的查詢順序,將VSS的安裝目錄“D:\Program Files\Microsoft Visual SourceSafe”新增到PATH變數後,使用者就可以在命令列下直接使用SS、analyze等工具。
SSDIR:指定Microsoft Visual SourceSafe或在命令列下執行SS命令時預設開啟的VSS資料庫檔案 Srcsafe.ini 的位置。
SSUSER:指定登入VSS的預設使用者名稱
SSPWD:指定登入VSS的使用者名稱密碼
VSS相關的8個環境變數:
Visual SourceSafe defines several environment variables, listed in the following table. You can set these variables in Windows for a variety of maintenance purposes.     
PATH    Specifies the path for executable files. Add the path to your Win32 folder, which by default contains Visual SourceSafe program files. For example PATH=%PATH%;c:\Program Files\vss\win32.    
SSCURPRJ   Overrides the project setting in Ss.ini and is most commonly used in writing batch files and macros for Visual SourceSafe.
SSDEBUGTIME   Specifies a file name that contains a 32-bit integer date/time stamp in binary format. This variable is used for setting dates and times for debugging.
SSDIR   Specifies the location of the Srcsafe.ini file for a Visual SourceSafe database to which to connect.  
SSINI   Overrides the location of a user's Ss.ini file, as provided in Users.txt.   
SSINIENV   Specifies platform. specifiers to load from the Srcsafe.ini and Ss.ini files. If this variable is not set, the defaults for Win32 systems are NT, Win, PC, UI for Visual SourceSafe Explorer components, and NT, Win, PC, CL for command line components.  
SSPWD   Specifies the default password to be used for command line operations, in clear text,   
SSUSER    Specifies the default user name to be used for command line operations.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14321372/viewspace-574928/,如需轉載,請註明出處,否則將追究法律責任。

相關文章