Created
October 16, 2013 13:22
-
-
Save millsy/7007633 to your computer and use it in GitHub Desktop.
Using OSDump to collect a set of logs/crash dumps and copy them to a network share
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ echo off | |
net use j: \\server-name\folder-name | |
cd /d "%PROGRAMFILES%\OpenSpan\OpenSpan Runtime Enterprise" | |
osdump.exe -osdir "%USERPROFILE%\My Documents\OpenSpan Studio for VS 2010" -mode hang | |
cd /d "%USERPROFILE%\My Documents\OpenSpan Studio for VS 2010" | |
xcopy OSDump_*.* J:\%username%\ /I /Y /C | |
net use j: /delete | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment