Something that would be useful for me: A command that will allow me to pause before continuing within a script. So if I am running an outside program to process a certain file, I can make it wait for say 1,000 ms (which would probably be more than enough time for the file to be processed, then to check to see if an output file was create, if not, wait 1,000 ms longer..

Ex.

alias dooy {
write input.txt here's the input $1-
run c:\processor\process.exe $mircdirinput.txt $mircdiroutput2.txt
while ($exists(output.txt) == $false) { wait 1000 }
run c:\processor2\proces2.exe $mircdiroutput.txt $mircdiroutput2.txt
while ($exists(output2.txt) == $false) { wait 1000 }
Echo The file has been processed.. Opening now!
.rename output2.txt thefile.txt
run thefile.txt
}

( :tongue: I would have put catches in there to guard against an endless loop if the file wasn't processed within a certainamount of seconds, but you get the idea. wink )


- Wherever you go there you are.[color:lightgreen]