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.
Execute command based on txt file contents
Name: AudioFox Date: July 10, 2009 at 21:04:53 Pacific OS: Windows Vista Subcategory: Batch
Comment:
I have a text file that some times has "Cisco VPN adapter" in it. My goal is to execute a command based on if it is there or not. I need this to work in dos the goal is to turn off a service when the string is detected and turn on the service if the string is not detected. i have worked hard on the first half of the code and just need help with this second half. trying to do this all in NT DOS batch. Thanks in advance!
Summary: Hi. I'd like to batch delete files in a selected directory(incl. subdirectories too) based on .txt on ftp. In a local site, I can do it by making .bat like this: -- set dir1=w:\docs\manual\ : for /F ...
Summary: Please anyone can help me, i just a new learner in the world of batch files, my q is: i want a patch to copy or move my files based on the file extension to diff folders for ex: *.bat files to be copi...
Summary: I need to create a "simple" batch file that will not only rename a specified file to the date it was renamed (example: batch.log to batch-080508.log) but also based on the file size limit (example: if...