Frage

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 ?

War es hilfreich?

Lösung

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%
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top