Re: issues with pipe operator causing hang while executing a batch

Tech-Archive recommends: Fix windows errors by optimizing your registry



hi asdf,

basically we do not intent to copy any sites or directories, our problem is
in below mentioned batch file where it hangs after 20-30 iterations, where
actually it should throw output for 100 times

Any help on resolving the issue would be great

thanks,
mitz

"asdf" wrote:

Define pipe here.

The internet is not a series of tubes.

Watch relevant daily show video !!

***************************************

As I am working right now.


where >> d:\list.txt /r c:\ *.lnk
outputs all shortcuts

Have not tried robocopy yet.
The 95 version was courtesy ??..

Robocopy hex shows "Software\Microsoft\KevinA\Robocopy"

Guess that means kevina@xxxxxxxxxxxxx

***************

yep

http://www.cicorporation.com/Microsoft/RoboCopy/index.htm


************

Let me second Jon Stewart "THE INTERNET IS A KEEPER"

To Jon Leibowitz : (aka Jon Stewart), I thank you too.




"MiTz" <MiTz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F3C92483-056E-4492-A253-AEBE07C76192@xxxxxxxxxxxxxxxx
Contents of run.bat
-----------------
@echo off
echo "Iteration %1 "
dir | find /i "test" | find /i "of" | find /i /c "o"
echo .

-----------------

Content of run10.bat
-------------------
@echo off
for /l %%a in (0 1 100) do run.bat %%a
-------------------
On executing run100.bat on the command prompt the command in the 'run.bat'
hangs after few iterations. We have tried the KB article
(http://support.microsoft.com/kb/82216), but it did not help.

Let me know if you have any suggestions to resolve the issue. Your help is
appreciated.

Thanks and regards,




.



Relevant Pages