Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Output to a log file using bat file
Name: QuesGal Date: April 20, 2009 at 07:12:48 Pacific OS: Windows XP Subcategory: Software Problems
Comment:
Hi,
The following is a part of my bat file c: cd c:\OracleBI\DAC dacCmdLine ETLStatus >>%TMP_FL%
echo Checkpoint 4 : YES >>%LG_FL%
COPY %LG_FL%+%TMP_FL% %LG_FL%
I am getting the output from the 'ETLStatus' DAC command into the TMP file. However I am nither getting the next line "CheckPoint 4" nor is my next line working - I need to concatinate the output of TMP file in my LOG file.
Please help - I know its some basic mistake.When I run these lines seperately they seem to work ( On Command prompt)
Summary: Hi any expert here can help me in creating bat file for window. actually what i need is create a bat file to monitor a log file size and purge it. because the file size will keep growth fast. now what...
Summary: Hello, I have a fairly simple bat file that needs to prompt a user for input....I have found the set /p new_variable="Enter value command....but how do I send the output of the "variable" to a text fi...
Summary: Hi, on a frequent interval, i want to move one log file from C:\ to C:\logs folder. While moving from C: i want to change the name of the file like this importlog<CURRENT_TIME&DATE> I mean i want t...