Jump to content
Sign in to follow this  
lopolop

waiting for Command Prompt..

Recommended Posts

lopolop

basically i am using Run(@Comspec) to run the Command Prompt..

im trying to figure out a way to run it and wait for the window to come up... such as WinWait/Active but i want it to work globally meaning at this computer it opens to C:\Documents and etc.

but other places(like my school) it opens at H: just curious how i can wait till it opens

[EDIT]

actualy i may have found a way.. just curious does all CommandPrompt titles.. regardless of drive... have ":\" if so then winwait will work there...

Edited by lopolop

Share this post


Link to post
Share on other sites
/dev/null

basically i am using Run(@Comspec) to run the Command Prompt..

im trying to figure out a way to run it and wait for the window to come up... such as WinWait/Active but i want it

RunWait()?

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
lopolop

>.< omg.. thats what i wanted.. i cant believe i didnt notice it...

ahhh shame on me..

Thanks!

[EDIT]

Errr lol actually that didnt work but..

WinWait(":\")

did..(with WinTitleMatchMode set to 2)

Edited by lopolop

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.