Re: I don't think that would work

by (Login MCalkins)
R

DIM n AS INTEGER
OPEN "delme.bat" FOR OUTPUT AS 1
FOR n = 1 TO 25
PRINT #1, "copy c:\aaa\file" + LTRIM$(STR$(n)) + ".txt c:\bbb"
IF (n AND 7) = 0 THEN PRINT #1, "@pause"
NEXT
PRINT #1, "@pause"
CLOSE
SHELL "cmd /c delme.bat"
KILL "delme.bat"
SYSTEM

Posted on Sep 22, 2011, 2:44 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
OKlawgin on Sep 23
 * There is a way to do it all in a batch, but it isn't easy. on Oct 5
  Re: * There is a way to do it all in a batch, but it isn't easy.Naoto on Nov 5
  re: isn't easy? on Apr 20