Tom's Guide Forums
  Tom's Guide Forums » Windows 95/98/ME » Windows 95/98/Me General Discussion » xcopy says "file(s) not found"
 

Add a reply



 Word :   Username :  
 
Bottom
Author
 Thread : xcopy says "file(s) not found"
 
More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

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.

Related Pr oduct
Register or log in to remove.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

"krouse" <krouse@discussions.microsoft.com> wrote in message news:DB08E7AE-725C-4F9B-8D7B-9C78A845B357@microsoft.com...
> 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.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

"Bill Blanton" <bblanton@REMOVEmagicnet.net> wrote in message news:OfYhRZPtFHA.3752@TK2MSFTNGP09.phx.gbl...
> "krouse" <krouse@discussions.microsoft.com> wrote in message news:DB08E7AE-725C-4F9B-8D7B-9C78A845B357@microsoft.com...
>> 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.
>
>

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Thu, 8 Sep 2005 21:01:04 -0700, krouse
<krouse@discussions.microsoft.com> 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/

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt <nobwatt@ptd.net> 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.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar
<fzabkar@iinternode.on.net> wrote:

>On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt <nobwatt@ptd.net> 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/

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

"Bill Watt" <nobwatt@ptd.net> wrote in message news:11i4i1t3n412ftivmhlq6lkac2jahjgvrd@4ax.com...
> On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar
> <fzabkar@iinternode.on.net> wrote:
>
>>On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt <nobwatt@ptd.net> 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 :)

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Fri, 9 Sep 2005 22:57:25 -0400, "Bill Blanton"
<bblanton@REMOVEmagicnet.net> wrote:

>"Bill Watt" <nobwatt@ptd.net> wrote in message news:11i4i1t3n412ftivmhlq6lkac2jahjgvrd@4ax.com...
>> On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar
>> <fzabkar@iinternode.on.net> wrote:
>>
>>>On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt <nobwatt@ptd.net> 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.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Sat, 10 Sep 2005 00:17:10 -0400, Bill Watt <nobwatt@ptd.net> put
finger to keyboard and composed:

>On Fri, 9 Sep 2005 22:57:25 -0400, "Bill Blanton"
><bblanton@REMOVEmagicnet.net> wrote:
>
>>"Bill Watt" <nobwatt@ptd.net> wrote in message news:11i4i1t3n412ftivmhlq6lkac2jahjgvrd@4ax.com...
>>> On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar
>>> <fzabkar@iinternode.on.net> wrote:
>>>
>>>>On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt <nobwatt@ptd.net> 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.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

also, why have an S/ & an E/, doesnt one cancel out the other.?

...Rex..

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:vt25i1t9vhd4ilamsr43ko8l79ccbq1a2n@4ax.com...
> On Sat, 10 Sep 2005 00:17:10 -0400, Bill Watt <nobwatt@ptd.net> put
> finger to keyboard and composed:
>
> >On Fri, 9 Sep 2005 22:57:25 -0400, "Bill Blanton"
> ><bblanton@REMOVEmagicnet.net> wrote:
> >
> >>"Bill Watt" <nobwatt@ptd.net> wrote in message
news:11i4i1t3n412ftivmhlq6lkac2jahjgvrd@4ax.com...
> >>> On Fri, 09 Sep 2005 16:29:45 +1000, Franc Zabkar
> >>> <fzabkar@iinternode.on.net> wrote:
> >>>
> >>>>On Fri, 09 Sep 2005 00:47:30 -0400, Bill Watt <nobwatt@ptd.net> 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.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

"Rex" <Rex@Hotmail.com> wrote in message news:OTE6cCntFHA.3040@TK2MSFTNGP14.phx.gbl...
> also, why have an S/ & an E/, doesnt one cancel out the other.?

Yes,, /s /e is the same as /e. It even says so in the /?

I guess the logic is

(except empty dirs) + (including empty dirs) = (including empty dirs)

> "Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
> news:vt25i1t9vhd4ilamsr43ko8l79ccbq1a2n@4ax.com...

>> I just remember "CHERKY", ie xcopy /c /h ...

I remember richkey..

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

No matter what changes I make, I keep getting the same error:
File not found - *.*

I have tried all the suggestions in this post. I apologize for originally
mistyping the command; I only had quotes around the first directory path.
But since then, I have tried removing all quotes as well as the asterisks.
If I take out the asterisks, I get:
File not found - *

Please help me get this xcopy working! It would seem that something is
wrong in the syntax for the first directory path; xcopy is not even FINDING
any files...

Jeff

"Bill Watt" wrote:

> On Thu, 8 Sep 2005 21:01:04 -0700, krouse
> <krouse@discussions.microsoft.com> 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/
>

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Sun, 11 Sep 2005 22:04:02 -0700, krouse
<krouse@discussions.microsoft.com> put finger to keyboard and
composed:

>No matter what changes I make, I keep getting the same error:
>File not found - *.*
>
>I have tried all the suggestions in this post. I apologize for originally
>mistyping the command; I only had quotes around the first directory path.
>But since then, I have tried removing all quotes as well as the asterisks.
>If I take out the asterisks, I get:
>File not found - *
>
>Please help me get this xcopy working! It would seem that something is
>wrong in the syntax for the first directory path; xcopy is not even FINDING
>any files...
>
>Jeff
>
>"Bill Watt" wrote:
>
>> On Thu, 8 Sep 2005 21:01:04 -0700, krouse
>> <krouse@discussions.microsoft.com> 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 think the "date" switch may not be working correctly. In my case it
gives a "0 files copied" result. In fact I don't think I've ever
managed to get the date switch to work correctly.

-- Franc Zabkar

Please remove one 'i' from my address when replying by email.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

if exist f:\backup\*.* xcopy f:\backup\*.* /s /d /v /e /r

are you sure there are files to copy in the folder, and the folder is still
there

--

Adaware http://www.lavasoft.de
spybot http://security.kolla.de
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor [...] ?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before
use
Grateful thanks to the authors/webmasters

_
"krouse" <krouse@discussions.microsoft.com> wrote in message
news:DB08E7AE-725C-4F9B-8D7B-9C78A845B357@microsoft.com...
> 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.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

R-Clk the batch file, & select Edit. Post it, so we may see the changes. What is "/V" supposed to do?


--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
should things get worse after this,
PCR
pcrrcp@netzero.net
"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message news:7b6ai1p1102jdjt80cr4vomchab6jt4md7@4ax.com...
| On Sun, 11 Sep 2005 22:04:02 -0700, krouse
| <krouse@discussions.microsoft.com> put finger to keyboard and
| composed:
|
| >No matter what changes I make, I keep getting the same error:
| >File not found - *.*
| >
| >I have tried all the suggestions in this post. I apologize for originally
| >mistyping the command; I only had quotes around the first directory path.
| >But since then, I have tried removing all quotes as well as the asterisks.
| >If I take out the asterisks, I get:
| >File not found - *
| >
| >Please help me get this xcopy working! It would seem that something is
| >wrong in the syntax for the first directory path; xcopy is not even FINDING
| >any files...
| >
| >Jeff
| >
| >"Bill Watt" wrote:
| >
| >> On Thu, 8 Sep 2005 21:01:04 -0700, krouse
| >> <krouse@discussions.microsoft.com> 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 think the "date" switch may not be working correctly. In my case it
| gives a "0 files copied" result. In fact I don't think I've ever
| managed to get the date switch to work correctly.
|
| -- Franc Zabkar
|
| Please remove one 'i' from my address when replying by email.

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

You have an error in the command line.
the second *.* should not be there.

xcopy "f:\backup\*.* "i:\*.*" /s /d /v /e /r

Use Bill Watts suggesion of:
Try:
xcopy f:\backup\*.* i:\ /s /d /v /e /r

Of if you want, make a folder (directory) on the i drive called backup then
use
xcopy f:\backup\*.* I:\backup /s /d /v/ e /r


The second *.* tells the computer to find a folder called *.* on the i
drive.
Naming a folder *.* would be a violation of the folder naming convention.

"krouse" <krouse@discussions.microsoft.com> wrote in message
news:9D84914C-4673-40B1-8856-B83D7B48EE25@microsoft.com...
> No matter what changes I make, I keep getting the same error:
> File not found - *.*
>
> I have tried all the suggestions in this post. I apologize for originally
> mistyping the command; I only had quotes around the first directory path.
> But since then, I have tried removing all quotes as well as the asterisks.
> If I take out the asterisks, I get:
> File not found - *
>
> Please help me get this xcopy working! It would seem that something is
> wrong in the syntax for the first directory path; xcopy is not even
> FINDING
> any files...
>
> Jeff
>
> "Bill Watt" wrote:
>
>> On Thu, 8 Sep 2005 21:01:04 -0700, krouse
>> <krouse@discussions.microsoft.com> 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/
>>

More Information

Archived from groups: microsoft.public.win98.gen_discussion (More info?)

 

On Mon, 12 Sep 2005 10:32:48 -0400, "PCR" <pcrrcp@netzero.net> put
finger to keyboard and composed:

>R-Clk the batch file, & select Edit. Post it, so we may see the changes. What is "/V" supposed to do?

Type "help xcopy" at the DOS prompt:

/V
Verifies each file as it is written to the destination file to
make sure that the destination files are identical to the source
files.

Alternatively, you can view the xcopy32.mod file, in read-only mode,
at the DOS prompt:

edit /r /64 xcopy32.mod

-- Franc Zabkar

Please remove one 'i' from my address when replying by email.

More Information
n°688405
09-13-2005 at 12:37:36 PM