Jump to content

waiting for Command Prompt..


Recommended Posts

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

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 *

Link to comment
Share on other sites

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