Jump to content

"Beta Question" for RunWait function


sinvos
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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...

Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...