Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
FOR multiple commands
Name: CWoodward Date: May 29, 2006 at 17:30:03 Pacific OS: Windows XP CPU/Ram: Intel Celleron Product: Dell
Comment:
Is there any way to execute multiple commands when using for?
I.E. FOR %%B IN (*.*) DO (command #1) (command #2)
"If it jams, force it. If it breaks, it needed replacing anyway." -Murphy's Laws
Summary: It sounds like you haven't read the manual properly. Why do you think it never works as it's supposed to? Why do you think you can iterate over a string? The For Each command only iterates over collec...
Summary: I'm working on a batch file that creates a directory and then automatically sets folder permissions based on the group membership of the person executing the script. I'm having trouble with one parti...
Summary: Hi all - Need a little help. Attempting to write a batch file to check for and delete multiple files, outputting to a log file after anything is found. Here's what I have so far: echo off setLocal...