Pregunta

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 ?

¿Fue útil?

Solución

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%
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top