I have a hard time making a batch file that will copy a file and let the user input the destination of where the copied file will be saved.
It should look like this:
file to be copied:
target drive:
I have a hard time making a batch file that will copy a file and let the user input the destination of where the copied file will be saved.
It should look like this:
file to be copied:
target drive:
Collect them as environment variables, like this:
set /p FileToCopy=File to copy?
set /p DestinationDrive=Target drive?
Then, access them as environment variables in your batch file:
%FileToCopy%
%DestinationDrive%