Enterprise Vault - DTrace
Published 16 years ago
Version 1.0Was this article helpful?
@echo off setlocal set dtlogfile=%CD%\dtrace.log del %dtlogfile% /q set dtcmds=dtracecmd.ini echo set DirectoryService v >> %dtcmds% echo log %dtlogfile% >> %dtcmds% echo comment EV Support canned archive task failure script >> %dtcmds% rem log the dtrace output for 20 minutes echo pause 20 >> %dtcmds% for /F "tokens=3*" %%i in ('REG QUERY "HKLM\SOFTWARE\KVS\Enterprise Vault\Install" /v InstallPath ^| find "REG_SZ"') DO SET EVINSTALLPATH=%%i %%j path %path%;%EVINSTALLPATH% dtrace.exe < %dtcmds% if exist %dtlogfile% ( echo log file ^(%dtlogfile%^) ) else ( echo Log file ^(%dtlogfile%^) not found. echo +++ more %dtcmds% echo +++ path echo +++ ) :end rem tidy up del %dtcmds% /q endlocal