using this in a batch file if I don't type anything after mybatch
I'm prompted and what is properly assigned the value. But if I type
"mybatch doit" its not. Or is this not possible?
mybatch
set what = %1 if Not DEFINED what set /P what=? echo %1 echo %what%
Thanks for any help



Help

Back to top









