Search found 1 match
- 19 Apr 2023 13:03
- Forum: DOS Batch Forum
- Topic: Copy Specific rar file to specific folder on drive
- Replies: 2
- Views: 2661
Re: Copy Specific rar file to specific folder on drive
Use this. @echo off setlocal set "src=d:\data" set "dest=y:\" 2>nul cd /d "%src%" if errorlevel 1 ( echo Source folder is not found or inaccessible. goto :eof ) 2>nul pushd "%dest"%" if errorlevel 1 ( echo Destination folder is not found or inaccessible. goto :eof ) popd set num=1 :loop set n=00%num...