I'd like to do something like this with files in one pane
for %%f IN (*.zip) do zip -add "%%f" test.txt
The files selected in one pane will be the set of files.
The command after the "do" could be anyone.
Any Ideas?
Can this be done with TC?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 13
- Joined: 2003-05-12, 13:58 UTC
Can this be done with TC?
The syntax correct will be
for %f IN (*.zip) do zip -add %f test.txt
(at least, I can use this syntax without problem, WHEN I use shift+Intro for execute the command).
The syntax works fine (on my use)
command /c for %f IN (*.zip) do zip -add %f test.txt
where command is your command interpreter (CMD.EXE, COMMAND.COM, etc.).
for %f IN (*.zip) do zip -add %f test.txt
(at least, I can use this syntax without problem, WHEN I use shift+Intro for execute the command).
The syntax works fine (on my use)
command /c for %f IN (*.zip) do zip -add %f test.txt
where command is your command interpreter (CMD.EXE, COMMAND.COM, etc.).