Hey guys/gals,
I'm trying to set up a batch file which I can run as a scheduled task for our Vault. I have the following:
REM PROVIDING THE BEST RESULTS FOR BACKING UP THE VAULT
REM DELETE B AND CASCADE A BACKUP SUBDIRECTORIES
RMDIR /Q /S "C:\Vault Backups\B"
REN "C:\Vault Backups\A" B
REM CREATE A NEW DIRECTORY FOR THE BACKUP
MKDIR "C:\Vault Backups\A\"
REM START THE BACKUP PROCESS (THIS IS ONE LINE OF TEXT)
"C:\Program Files (x86)\Autodesk\Data Management Server 2009\ADMS Console\Connectivity.ADMSConsole.exe" –Obackup -B"C:\Vault Backups\A" -VUadministrator –VP<Sam2004Aug> -S
NET STOP MSSQL$AUTODESKVAULT
NET START MSSQL$AUTODESKVAULT
It works up to where it is supposed to start the backup process (in bold above, if I did it right...). When it gets to that line, it simply says that it cannot find the file specified.
I tried walking through it manually, step by step and got the same result. So, then I did it even more "manually" where I went through line by line (starting at C:\, then typing "cd\Program Files (x86)" to drill into that directory, etc.). I found that the "Autodesk" folder could not be found using the "cd\Autodesk" but it was fine if I typed "cd Autodesk". All the other directories worked regardless of whether or not the "\" was there. Not sure if that's a clue for anyone or not. The folder is NOT hidden.
If any of you have any ideas why I can't get passed this line, I would greatly appreciate some help! Thanks!