File Creation Error The Parameter Is Incorrect Copy
Contents |
activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length Forum only search News: Home Help Login Register Computer Hope » Microsoft » Microsoft DOS » Problem with XCOPY « previous next » Print xcopy file creation error the system cannot find the file specified Pages: [1] 2 All Go Down Author Topic: Problem with XCOPY (Read 20926 times) xcopy file creation error unable to create directory 0 Members and 6 Guests are viewing this topic. NCwillTopic StarterRookie Problem with XCOPY « on: May 20, 2008, 04:54:22 PM » I
Winpe File Creation Error The Parameter Is Incorrect
am trying to create a batch procedure that will copy a group of files from a flash drive into a temp directory on my hard drive, and then have the ability to copy those files onto multiple
File Creation Error The Parameter Is Incorrect Xcopy
other flash drives (one at a time). So I created the following:Code: [Select]Echo What is the flash card drive letter? (no colon needed)
REM Sets the user entered drive letter as the drive letter of the flash drive.
set /p DriveLetter=
Echo Insert the flash card with the current election files into the drive.
pause
REM Delete (or remove) the "temp" directory to make sure old files are not copied
RMDIR /s /q file creation error - data error (cyclic redundancy check) C:\Flash_Copy\temp
REM make a new "temp" directory
mkdir C:\Flash_Copy\temp
REM copy everything from the flash drive to the temp directory.
xcopy %DriveLetter%: C:\Flash_Copy\temp /E
:LOOP
REM After the source has been copied to the "temp" directory it prompts to insert a new card into the flash drive.
REM When this is done it formats the card in flash card drive
FORMAT %DriveLetter%: /V:TEST /Q
CLS
REM It should begin to copy from the "temp" directory to the freshly formatted flash card in the flash card drive.
xCOPY "C:\Flash_Copy\temp" %DriveLetter%: /E /S
pause
GOTO LOOP
Well the procedure works ok until the last xcopy. It gives an error of:Code: [Select]File creation error - The parameter is incorrect.
Unable to create directory - G:\
0 File(s) copied
Press any key to continue . . .
I suspect it has something to do with the fact that when the files are copied from the source flash drive onto the hard drive it asks you to "insert disk into drive G" (which I do with another flash card) but does not fully terminate the xcopy procedure because the batch program continues to the next step which is to format the flash drive, which it does without problem but the next step is to use xcopy t
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time
Xcopy Access Denied
Help Create a Freelance Project Hire for a Full Time Job robocopy Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > xcopy: file creation error- the parameter is incorrect Want to Advertise Here? Solved xcopy: file creation error- http://www.computerhope.com/forum/index.php?topic=57301.0 the parameter is incorrect Posted on 2009-09-23 MS DOS Windows Batch 2 Verified Solutions 34 Comments 2,016 Views Last Modified: 2012-05-07 hi i'm trying to copy a rar file from a server to another server on the network (internal address) when i try, i get the above error i use a simple xcopy c:\rar\file.rar \\192.168.2.2\backup\file.rar i've tried https://www.experts-exchange.com/questions/24754580/xcopy-file-creation-error-the-parameter-is-incorrect.html playing with switches etc but no joy i can browse to the network path fine. 0 Question by:paulCardiff Facebook Twitter LinkedIn Google LVL 81 Active 1 day ago Best Solution byleakim971 Hello paulCardiff, Before xcopy : try (assuming you don't have a L drive) : NET USE L:\ \\192.168.2.2\backup\ Coul you run : MKDIR L:\test without error ? If yes, try : XCOPY c:\rar\file.rar Go to Solution 34 Comments LVL 6 Overall: Level 6 MS DOS 1 Windows Batch 1 Message Assisted Solution by:tricky982009-09-23 have you tried to create a file in the place your trying to copy to? You may be able to browse to it, but not write to it. 0 LVL 81 Overall: Level 81 Windows Batch 3 MS DOS 2 Message Active 1 day ago Accepted Solution by:leakim9712009-09-23 Hello paulCardiff, Before xcopy : try (assuming you don't have a L drive) : NET USE L:\ \\192.168.2.2\backup\ Coul you run : MKDIR L:\test without error ? If yes, try : XCOPY c:\rar\file.rar L:\ Rega
be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 15 Oct 2016 17:00:56 GMT by s_wx1094 (squid/3.5.20)