Can someone help me copy a file from an unknown location to a known location.
I want to copy a file wzmul file from a folder in c drive to a folder Program data in c drive.
I am using the code below, but that is not searching wzmul I guess.
Please help;
COPY "*.wzmul" "C:\ProgramData\Winzip"
Also this:
if not exist "C:\ProgramData\WinZip" md "C:\ProgramData\WinZip"
COPY "%~dp0WinZip.wzmul" "C:\ProgramData\WinZip\"
This is not working.
Copy file
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Copy file
Are you in the directory that contains the .wzmul files? Your current code will copy all of the .wzmul files in the current directory to the C:\ProgramData\Winzip directory.