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.
Clearing stdout from batch file
Name: lau Date: July 13, 2009 at 23:12:11 Pacific OS: Windows XP Subcategory: General
Comment:
I would like to clear the stdout from withing a batch file.
For instance, the following call is made: stuff.bat >> stuff.log
Is there a way to clear out stuff.log inside stuff.bat?
Thanks for the reply, apologies, I did not explain myself clearly.
Call: stuff.bat >> stuff.log
start of stuff.bat @echo Hello ... clear out stuff.log @echo Tree End of Stuff.bat
Type stuff.log ... Tree
I cannot change the call stuff.bat >> stuff.log, but I can change the contents of stuff.bat. I need to ensure that stuff.log is emptied before I start writing to it.
Summary: HI, thanks for the responses. i am just trying to customize the OS - like get disable wallpaper changing, getting rid of passport creating prrompt..... i can right click the file and merge it but want...
Summary: Hello this is my second topic here, as i'm learning batch file coding and i'm new learner and all by my own, no one helping me, so i found this site is very helpful for someone like me. here is a code...