Subj : Re: MS XCOPY v 4DOS internal COPY To : Outsider From : Jasen Betts Date : Tue Feb 05 2002 09:26 pm From: Jasen.Betts@p42.f531.n640.z3.cereal.mv.com (Jasen Betts) Subject: Re: MS XCOPY v 4DOS internal COPY Hi Outsider. 04-Feb-02 07:51:18, Outsider wrote to Jasen.Betts@xspamp42.f531.n640.z3.f O> I found this batch to be slightly faster than the corresponding "DIR" O> version (not shown). Runtimes below O> deltmps.bat (attrib.exe version) O> 0.237632 O> deltmps2.bat (dir version) O> 0.645574 about 2-1/2 times faster, that's pretty impressive. what version of 4dos (and what comspec setting) did you use? I can't get it to function here unless I use command.com instead of 4dos. O> PROMPT DEL %=% this is the first part where 4dos won't work.... 4dos doesn't %prompt% with echo on... O> CTTY nul O> %COMSPEC%/C%temp%.\test1.bat> %temp%.\test2.bat O> CTTY con O> ECHO [2A O> FIND.EXE "\" <%temp%.\test2.bat> %temp%.\test1.bat why not do that like this, it's a little faster. ctty nul command /C %temp%\test1.bat | find "\" > test1.bat ctty con O> runtime comparison of ATTRIB.exe and DIR. attrib /s O> 0.011013 O> 0.010925 O> dir/a-d/b/s O> 0.039377 O> 0.039403 are you discussing 4dos? because when I compared things I found that command's dir was slowest of them all, but 4dos dir was fastest. if you've got 4dos time this one too. del /seya: \*.tmp It should be about 10 times faster than that bat, and does the same thing. -=> Bye <=- -- |Fidonet: Jasen Betts 3:640/531.42 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .