Jump to content

Recommended Posts

Posted

i'm trying to do a remote tasklist

i have some code working, it connects to the pc, shows the running tasks

but then flashes away

how do i make the cmd on my pc stay up?

here is my code

Func tasklist($pc)
Run(@ComSpec & " /c tasklist /s " & $pc)
EndFunc
Posted

is there anyway to set the title of the cmd?

i want to set the title "tasklist $pc"

like....

Func tasklist($pc)
Run(@ComSpec & " /k title tasklist " & $pc)
Run(@ComSpec & " /k tasklist /s " & $pc)
EndFunc

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
×
×
  • Create New...