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.
Batch file Help
Name: kipkenyen Date: March 2, 2009 at 05:23:53 Pacific OS: Windows XP/ Server 2003 Subcategory: Batch
Comment:
Hi, I need some help with a batch file.
I want to search the following txt file c:\backup logs\summary.txt for the string "##Status=Failed" and if this is present then execute another batch file called "Backupfailed.bat
The above script transfers control to backupfailed if the string is found and never returns to the calling one. If you want to go back after the execution of backupfailed replace with call backupfailed
0
Response Number 2
Name: kipkenyen Date: March 2, 2009 at 06:18:05 Pacific
Reply:
Cheers IVO that worked a treat, I didnt realise it was that easy, Thanks again
Summary: Hi Could anyone help me figure this out? I’m trying to create a batch file that will go to the C:\ drive and search for the last folder created (e.g SU550) then create a new folder called SU5...
Summary: Thanks for the help. :) I didnt know about the /Q command , but I'll give it a try in a few min. I'm still green with batch files , but they seem to be not to bad to manage once you get it down. Than...
Summary: If anyone can help I would appreciate it. I have a load of files that I want to rename using a batch file (don't mind what language) Files are in format of index.1345 and I want t...