Sign in to follow this  
Followers 0

"Beta Question" for RunWait function

2 posts in this topic

Posted

Will Runwait function have the same function as run in regards of the STD I/O streams?

Is there any thought in implementing it? Reason am asking is i have a function that calls dir command using run @comspec for searching for a certain file type if found delete and doing enumerating thru each users profiles, but when its finish. It will delete some of the files but not all but if i put msgbox to call path of the file before searching it will delete all of them. An all i can figure is call am making to the Run function not finishing when called again. When i put the msgbox it gives the time it needs to finish? Not sure, but thats what it seems to me. So leads to me first question will runwait have the STD I/O streams?

Share this post


Link to post
Share on other sites



Posted

This is something beyond the scope of the current implementation (or at least beyond my scope.)

The easiest fix is to put most of your work including the STD I/O in a compiled script, then call that script with a RunAsSet. If you do it right you can have a script re-run itself with a RunAsSet, there are examples of this in these forums...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0