A Windows 98 & ME forum. Win98banter

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.

Go Back   Home » Win98banter forum » Windows 98 » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

xcopy says "file(s) not found"



 
 
Thread Tools Display Modes
  #1  
Old September 9th 05, 05:01 AM
krouse
external usenet poster
 
Posts: n/a
Default 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  
Old September 9th 05, 05:24 AM
Bill Blanton
external usenet poster
 
Posts: n/a
Default

"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  
Old September 9th 05, 05:30 AM
Bill Blanton
external usenet poster
 
Posts: n/a
Default

"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  
Old September 9th 05, 05:47 AM
Bill Watt
external usenet poster
 
Posts: n/a
Default

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  
Old September 9th 05, 07:29 AM
Franc Zabkar
external usenet poster
 
Posts: n/a
Default

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  
Old September 10th 05, 03:44 AM
Bill Watt
external usenet poster
 
Posts: n/a
Default

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  
Old September 10th 05, 03:57 AM
Bill Blanton
external usenet poster
 
Posts: n/a
Default

"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  
Old September 10th 05, 05:17 AM
Bill Watt
external usenet poster
 
Posts: n/a
Default

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  
Old September 10th 05, 11:35 PM
Franc Zabkar
external usenet poster
 
Posts: n/a
Default

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  
Old September 11th 05, 02:35 AM
Rex
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 02:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.