DOS Input Help

March 7, 2011 at 11:14:08
Specs: Windows XP
What if I want a DOS command to ask me to input a machine name…

I am running pslist (PsTools) and every time I need to run it, I have to put in a machine name. I know the command in DOS but I want to create a batch file so the only thing I need to enter is the machine name.

How can I achieve this in DOS creating a batch file?

See More: DOS Input Help

Report •

March 7, 2011 at 17:43:08
What, something like:
@set /p machine=Machine name? 
@pslist \\%machine%

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question