Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I sliced a file up in 18 parts for transfer through account with max file upload. I then created a batch code for merging them. They're all located in C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay and have names ranging from Ejay_1 to Ejay_18
When i try to run my code i get the message that the first file "Ejay_1.kg" couldn't be found
Here's my code:
@echo off
echo Generated by Rune Frederiksen
echo http://AoZclan.TK
echo The_giant_noodle@yahoo.dk
echo =================
echo Reconstructing Ejay.zip...
copy /b "C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_1.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_2.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_3.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_4.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_5.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_6.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay_7.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_8.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_9.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_10.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_11.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_12.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_13.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_14.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_15.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_16.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_17.kg"+"C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_18.kg" "C:\music\Ejay.zip"

The error may be due to the Copy command too long (never exceeding 127 chararcters is a good rule). So try the following
Copy /B "C:\Documents and Settings\jfe\Skrivebord\Jeppe\Ejay\Ejay_*.kg" "C:\music\Ejay.zip"
I hope this helps.

![]() |
Form submit to Foxbase
|
Copying file over LAN usi...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |