|
Answer» Hey,
Is there a command that enables a user, while a batch file is running to ENTER a file NAME so the batch file can PROCESS it?Depends on your OS. This works on some machines:
Code: [Select]set /p fname=Enter file name:
You will be prompted with "Enter file name:"
%fname% will take on the VALUE you type in. You can USE it anywhere in your batch file where appropriate.
Hope this helps. 8-)
|