@echo off
set /p id=”Enter ID: ” %=%
You can then use %id% as a parameter to another batch file. For example:
jstack %id%
EDIT: This works just fine for me. Sorry I can’t help more.
set /P id=Enter id: %=%
jstack %id% > jstack.txt
@echo off
set /p id=”Enter ID: ” %=%
You can then use %id% as a parameter to another batch file. For example:
jstack %id%
EDIT: This works just fine for me. Sorry I can’t help more.
set /P id=Enter id: %=%
jstack %id% > jstack.txt