The Dude with Command Line Tools

I am trying to add a PSTOOL to the Tool list and I have it set up with

psloggedon \[Device.FirstAddress]

but it just flashes the screen and goes away. is there a way to get the command window to stay open until i press a key??

Thanks,

Walter

Simply create a batch with your commandline and add “pause” at the end.


@echo off
C:\apps\pstools\psloggedon.exe \[Device.FirstAddress]
pause

I was thinking of something like that but I would need to send parameter to the bat program, sadly i am not much of a programmer.

well… it looks like all i had to do was add a %1 to the end of my command in my bat file.

@echo off
psloggedon %1
pause