Search found 3 matches

by Vandalieu
08 Aug 2020, 00:29
Forum: Ask For Help
Topic: Running CMD command and waiting for it to finish. Topic is solved
Replies: 8
Views: 2519

Re: Running CMD command and waiting for it to finish. Topic is solved

Thanks heaps for this! I'll put what I learned here to good use in my future hotkeys.
by Vandalieu
06 Aug 2020, 21:57
Forum: Ask For Help
Topic: Running CMD command and waiting for it to finish. Topic is solved
Replies: 8
Views: 2519

Re: Running CMD command and waiting for it to finish. Topic is solved

Use this to have the ping response go straight to the clipboard: s1 := "google.com" Runwait %comspec% /c ping %s1% | clip,,hide Use this for it to go to a txt file: s1 := "google.com" Runwait %comspec% /c ping %s1% > %A_Hour%%A_Min%-%A_DD%%A_MM%%A_YYYY%-%s1%.txt,, hide You'll never see the command ...
by Vandalieu
06 Aug 2020, 10:22
Forum: Ask For Help
Topic: Running CMD command and waiting for it to finish. Topic is solved
Replies: 8
Views: 2519

Running CMD command and waiting for it to finish. Topic is solved

So I'm trying to create a hotkey that will run a ping or tracert in command prompt and output the results to a file. That's easy and all but I'm stumped as I want to use autohotkey variables and the like, so that stops me from using the run and runwait commands. This is where I am at so far: ^!numpa...

Go to advanced search