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.
Extract variable, then call batch
Name: lbf864 Date: May 13, 2008 at 11:59:09 Pacific OS: Win2K CPU/Ram: n/a Product: IBM
Comment:
I am trying to write a batch file to look into a .txt log file and check for a return code BB3 (BB3 will be the only text in this file).
If BB3 is in the log file, execute bat1.bat. If BB3 is not in the log file, execute bat2.bat.
I am really stumped. Any help would be appreciated.
Summary: Hmmm. The varible? Is it user input.??? Example: The prompt....What drive and dir ? The input h:\stuff Then yes. The h:\stuff is copyed to a file with a bat extension ,then called, then deleted. Th...
Summary: Yes indeedy! A shortcut to a WINDOWS Application is a .LNK A shortcut to a DOS Application is a .PIF A shortcut to a WebSite is a .URL Glad to see that you've worked a solution, but keep in mind that ...