質問

In my working Environment, I need to access multiple VSS database. For Each database , I have different user ID / Password Moreover , I need to download some data on fixed date ( each wednesday morning) I would like to automate this process. I found VSS command to download the data from VSS however, I could not find the command to login by specifying srcsafe.ini path of VSS How to switch VSS accounts in single batch file ?

役に立ちましたか?

解決

Set the VSS environment variables as needed with something like this in your bat file (assuming user has proper VSS permissions).

SET SSDIR=\\PutComputerNameHere\FolderNameHere
SET SSUSER=%UserName%
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top