Answered by:
Automating the VSS Analyze Utility

Question
-
We are decomissioning a server and I found an app called VisualBuild Pro that has scheduled tasks to analyze our VSS databases. We no longer have the media to install this software and to buy it new now is not in our budget.
So my question is how to automate the running of the VSS Analyze utility or something similar that would accomlish the same thing.
Friday, November 20, 2009 9:22 PM
Answers
-
Hello,
If you just need to schedule the running of Analyze.exe, why not use the Task Scheduler in Windows:
How To Schedule Tasks in Windows XP
Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked as answer by Wesley Yao Friday, November 27, 2009 3:49 AM
Monday, November 23, 2009 5:11 AM -
You can try using VSS Command Line. Check the post here to see if it helps:Thanks,
Catherine Sea
Version Control Software | Software Configuration Management Solution- Marked as answer by Wesley Yao Friday, November 27, 2009 3:49 AM
Thursday, November 26, 2009 7:18 AM
All replies
-
Hello,
If you just need to schedule the running of Analyze.exe, why not use the Task Scheduler in Windows:
How To Schedule Tasks in Windows XP
Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked as answer by Wesley Yao Friday, November 27, 2009 3:49 AM
Monday, November 23, 2009 5:11 AM -
Hello,
How are you? Is your problem resolved? May I know whether the above suggestions helped you?
Thanks,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.Thursday, November 26, 2009 2:27 AM -
You can try using VSS Command Line. Check the post here to see if it helps:Thanks,
Catherine Sea
Version Control Software | Software Configuration Management Solution- Marked as answer by Wesley Yao Friday, November 27, 2009 3:49 AM
Thursday, November 26, 2009 7:18 AM -
I setup scheduled tasks to kick off a .bat file I found here at the bottom of the page
http://msdn.microsoft.com/en-us/library/ysxsfw4x(VS.80).aspx
I am running into two issues still
1. When testing the .bat files by launching them manually some run and some don't, then ones that don't run the screen flashes by too quickly for me to see what is happening and I can find any information to help determine what is going wrong.
2. 3 of our VSS databases are in folders that use the & symbol in the folder name. When I run the script against these database it seems to have trouble with the & symbol.
Example: The folder name is R&D, after the script is run I end up with a folder called R that has the .bak and log files in it. SO you can tell it is having an issue with the & symbol but these folders have been this way for 7 or 8 years so why would this be an issue?
Any assistance would be much appreciated!
Monday, January 11, 2010 2:31 PM -
Hi There
I am struggling to automate the Analyze process, although it is simple to run Analyze.exe from a scheduled script, you can't run it in 'repair' mode if there are any users logged on, and many of mine just leave everything logged in when they go home at night or for the weekend. Does anyone know how to automatically log out users and lock the database ?
Thanks
Jeff
Tuesday, October 26, 2010 11:25 AM