Just wanted to give a big "Thanks!" to you, FiberOPtics, for the script posted.
In modified form it functions excellent to essentially halt processing of a script while the called command is being run.

Specifically, I needed this because I'm launching an external batch file to create a folder (I'm going to guess I could actually do this with the shell scripting stuff as well, but that's for later investigation) - and need to check whether the folder was successfully created.

//echo -s $ticks | /run mybat.bat | /echo -s $isdir(c:\thedir\) | //echo -s $ticks
would execute in 1 go, and $isdir would return $false , as the dir would not exist yet.

//echo -s $ticks | /cmd mybat.bat | /echo -s $isdir(c:\thedir\) | //echo -s $ticks
waits at the /cmd , and $isdir returns $true (assuming the dir was actually created(!)) when it should smile

Thanks again!


__________
ZeBoxx
¯¯¯¯¯¯¯¯¯¯