If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
xcopy says "file(s) not found"
When I try to execute xcopy (via an MS-DOS Batch file in Win98) for a folder
full of other folders and files to backup everything on a zip disk, the DOS window opens but immediately gives the error: File not found - *.* My xcopy command reads as follows: xcopy "f:\backup\*.* "i:\*.*" /s /d /v /e /r I tried removing some of the switches but it didn't help. This same batch file has worked perfectly on PC's running WinME and WinXP. I think it was created in XP, then I just copy it wherever I need it. |
#2
|
|||
|
|||
"krouse" wrote in message news
When I try to execute xcopy (via an MS-DOS Batch file in Win98) for a folder full of other folders and files to backup everything on a zip disk, the DOS window opens but immediately gives the error: File not found - *.* My xcopy command reads as follows: xcopy "f:\backup\*.* "i:\*.*" /s /d /v /e /r Remove the *.* from the destination for starters. You also don't need the quotes since both are legal 8.3 names. (though that probably doesn't matter) xcopy f:\backup\*.* i:\ /s /d /v /e /r I tried removing some of the switches but it didn't help. This same batch file has worked perfectly on PC's running WinME and WinXP. I think it was created in XP, then I just copy it wherever I need it. |
#3
|
|||
|
|||
"Bill Blanton" wrote in message ...
"krouse" wrote in message news When I try to execute xcopy (via an MS-DOS Batch file in Win98) for a folder full of other folders and files to backup everything on a zip disk, the DOS window opens but immediately gives the error: File not found - *.* My xcopy command reads as follows: xcopy "f:\backup\*.* "i:\*.*" /s /d /v /e /r I just noticed.. you have one opening quote without a closing around the source. But *.* is an illegal dest anyway... Remove the *.* from the destination for starters. You also don't need the quotes since both are legal 8.3 names. (though that probably doesn't matter) xcopy f:\backup\*.* i:\ /s /d /v /e /r I tried removing some of the switches but it didn't help. This same batch file has worked perfectly on PC's running WinME and WinXP. I think it was created in XP, then I just copy it wherever I need it. |
#4
|
|||
|
|||
On Thu, 8 Sep 2005 21:01:04 -0700, krouse
wrote: When I try to execute xcopy (via an MS-DOS Batch file in Win98) for a folder full of other folders and files to backup everything on a zip disk, the DOS window opens but immediately gives the error: File not found - *.* My xcopy command reads as follows: xcopy "f:\backup\*.* "i:\*.*" /s /d /v /e /r I tried removing some of the switches but it didn't help. This same batch file has worked perfectly on PC's running WinME and WinXP. I think it was created in XP, then I just copy it wherever I need it. Have you tried it without any quotation marks? You have 3 quotation marks, they are applied in sets, ie: 2 or 4. Try: xcopy f:\backup\*.* i:\ /s /d /v /e /r or xcopy f:\backup\*.* i:\*.* /s /d /v /e /r or xcopy "f:\backup\*.* i:\*.*" /s /d /v /e /r I'm assuming you have determined what switches you want. Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? Regards, Bill Watt Computer Help and Information http://home.ptd.net/~bwatt/ |
#5
|
|||
|
|||
On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt put
finger to keyboard and composed: Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? "Overwrites read-only files". -- Franc Zabkar Please remove one 'i' from my address when replying by email. |
#6
|
|||
|
|||
On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar
wrote: On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt put finger to keyboard and composed: Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? "Overwrites read-only files". -- Franc Zabkar Please remove one 'i' from my address when replying by email. Geeze, there it was right in front of me. :-) Thanks, Regards, Bill Watt Computer Help and Information http://home.ptd.net/~bwatt/ |
#7
|
|||
|
|||
"Bill Watt" wrote in message ...
On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar wrote: On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt put finger to keyboard and composed: Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? "Overwrites read-only files". Geeze, there it was right in front of me. :-) Eat more fish |
#8
|
|||
|
|||
On Fri, 9 Sep 2005 22:57:25 -0400, "Bill Blanton"
wrote: "Bill Watt" wrote in message ... On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar wrote: On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt put finger to keyboard and composed: Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? "Overwrites read-only files". Geeze, there it was right in front of me. :-) Eat more fish I should, I looked that list over 4 or 5 times for R and missed it. Too bad xcopy and xxcopy don't support LFN's in Real Dos. |
#9
|
|||
|
|||
On Sat, 10 Sep 2005 00:17:10 -0400, Bill Watt put
finger to keyboard and composed: On Fri, 9 Sep 2005 22:57:25 -0400, "Bill Blanton" wrote: "Bill Watt" wrote in message ... On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar wrote: On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt put finger to keyboard and composed: Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? "Overwrites read-only files". Geeze, there it was right in front of me. :-) Eat more fish I should, I looked that list over 4 or 5 times for R and missed it. Too bad xcopy and xxcopy don't support LFN's in Real Dos. I just remember "CHERKY", ie xcopy /c /h ... -- Franc Zabkar Please remove one 'i' from my address when replying by email. |
#10
|
|||
|
|||
also, why have an S/ & an E/, doesnt one cancel out the other.?
...Rex.. "Franc Zabkar" wrote in message ... On Sat, 10 Sep 2005 00:17:10 -0400, Bill Watt put finger to keyboard and composed: On Fri, 9 Sep 2005 22:57:25 -0400, "Bill Blanton" wrote: "Bill Watt" wrote in message ... On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar wrote: On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt put finger to keyboard and composed: Enter xcopy /? |more (the | is the pipe symbol above the \ key and pauses the screen so you can view it all like /P). That lists all the switches. BTW /H copies hidden files as well and I wonder what /r does? "Overwrites read-only files". Geeze, there it was right in front of me. :-) Eat more fish I should, I looked that list over 4 or 5 times for R and missed it. Too bad xcopy and xxcopy don't support LFN's in Real Dos. I just remember "CHERKY", ie xcopy /c /h ... -- Franc Zabkar Please remove one 'i' from my address when replying by email. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finding total number of Folders and Files on C: drive | PSRumbagh | General | 36 | August 12th 05 04:57 AM |
system slow down when copying large number of files | General | 4 | July 3rd 05 03:06 PM | |
Temp &Temp int files | moonraker | General | 15 | January 18th 05 10:34 PM |
Startup | Joni | General | 6 | January 15th 05 02:35 AM |
sluggish performance... | Jeff | General | 3 | October 25th 04 08:52 PM |