Has anyone been successful in scripting the paramenters in to the dumplog util?
What I am trying to accomplish is I run a batch file and at the beggining of the batch file I ask the user to enter the beggining time and ending time of the logs they want to pull then pass that to the dumplog util.
Here is what I do now but I want to stream line this:
:start
c:
cd\
cls
set /p time=Did u remember to set time in bat file? Enter y or n:
if "%time%"=="y" goto editfile
if "%time%"=="n" goto pulllogs
:pulllogs
cd\icm\icm1\cg1A\logfiles
rem cdlog icm1 cg1a
dumplog ctisvr /bt 15:38 /et 15:41 >Cg1a_CTISVR.txt
@BigR .
@BigR .
@BigR ***ARE THERE ERRORS? Y / N ***
@BigR .
@BigR .
Pause
move *.txt c:\hopewell
@BigR .
@BigR .
@BigR .
@BigR ALL LOG FILES WERE MOVED TO C:\HOPEWELL
@BigR .
@BigR .
@BigR .
goto end
:editfile
cls
c:
c:\hopewell
edit dumpcg.bat
goto start
:end