Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Command prompt "COPY" command not working in brand new Windows Vis

Reply
 
Old 02-04-2008   #1 (permalink)
CMD COPY command not working in Vista


 
 

Command prompt "COPY" command not working in brand new Windows Vis

I am trying to create an automatic Backup batch file using "COPY" command in
CMD prompt in brand new laptop running Vista; but the operation not working.
Any help please?

Pete

My System SpecsSystem Spec
Old 02-04-2008   #2 (permalink)
SG


 
 

Re: Command prompt "COPY" command not working in brand new Windows Vis

Hi Pete,

Post the contents of your batch file, not the file it's self.

--
All the best,
SG
"CMD "COPY" command not working in Vista" <CMD "COPY" command not working in
Vista @discussions.microsoft.com> wrote in message
news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
Quote:

>I am trying to create an automatic Backup batch file using "COPY" command
>in
> CMD prompt in brand new laptop running Vista; but the operation not
> working.
> Any help please?
>
> Pete
My System SpecsSystem Spec
Old 02-04-2008   #3 (permalink)
Bob


 
 

Re: Command prompt "COPY" command not working in brand new Windows Vis

Replace COPY with XCOPY.


"CMD "COPY" command not working in Vista" <CMD "COPY" command not working in
Vista @discussions.microsoft.com> wrote in message
news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
Quote:

>I am trying to create an automatic Backup batch file using "COPY" command
>in
> CMD prompt in brand new laptop running Vista; but the operation not
> working.
> Any help please?
>
> Pete
My System SpecsSystem Spec
Old 02-05-2008   #4 (permalink)
CMD COPY command not working in Vista


 
 

Re: Command prompt "COPY" command not working in brand new Windows

Hi SG,
Thanks for your reply!
The contents of my batch file is:

PATH C:\; C:\Windows; C:\Windows\System32
COPY C:\Program Files\BioClinic\*.*

Just two simple lines and this batch file was working fine in the old laptop
computer that was running Windows XP. I copied the same batch file to the
brand new DELL latop that came with Windows Vista and NOT working.
Thanks, Pete

"SG" wrote:
Quote:

> Hi Pete,
>
> Post the contents of your batch file, not the file it's self.
>
> --
> All the best,
> SG
> "CMD "COPY" command not working in Vista" <CMD "COPY" command not working in
> Vista @discussions.microsoft.com> wrote in message
> news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
Quote:

> >I am trying to create an automatic Backup batch file using "COPY" command
> >in
> > CMD prompt in brand new laptop running Vista; but the operation not
> > working.
> > Any help please?
> >
> > Pete
>
>
My System SpecsSystem Spec
Old 02-05-2008   #5 (permalink)
Bob


 
 

Re: Command prompt "COPY" command not working in brand new Windows

There is no destination given in your file and there's no need for the PATH
command.

Try this:
COPY (or XCOPY) <source> <destination>
Use the "/y" switch to avoid the overwrite prompt.


"CMD "COPY" command not working in Vista"
<CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in message
news:9BF5B6C5-D42F-4000-B0C1-F02D85FC3218@xxxxxx
Quote:

> Hi SG,
> Thanks for your reply!
> The contents of my batch file is:
>
> PATH C:\; C:\Windows; C:\Windows\System32
> COPY C:\Program Files\BioClinic\*.*
>
> Just two simple lines and this batch file was working fine in the old
> laptop
> computer that was running Windows XP. I copied the same batch file to the
> brand new DELL latop that came with Windows Vista and NOT working.
> Thanks, Pete
>
> "SG" wrote:
>
Quote:

>> Hi Pete,
>>
>> Post the contents of your batch file, not the file it's self.
>>
>> --
>> All the best,
>> SG
>> "CMD "COPY" command not working in Vista" <CMD "COPY" command not working
>> in
>> Vista @discussions.microsoft.com> wrote in message
>> news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
Quote:

>> >I am trying to create an automatic Backup batch file using "COPY"
>> >command
>> >in
>> > CMD prompt in brand new laptop running Vista; but the operation not
>> > working.
>> > Any help please?
>> >
>> > Pete
>>
>>
My System SpecsSystem Spec
Old 02-05-2008   #6 (permalink)
CMD COPY command not working in Vista


 
 

Re: Command prompt "COPY" command not working in brand new Windows

Bob,
Thanks for pointing out my omission!
Actually it is : "COPY C:\Program Files\BioClinic\*.* F:\" ,where the "F:"
being my USB memory stick.

I thought may be the Vista came with no "COPY" command available and was
looking for Vista CD but it was not in the box.

But you have a good suggestion to try with XCOPY and I will do that when I
get to the laptop next time because it's not with me now.
Thanks much, Pete



"Bob" wrote:
Quote:

> There is no destination given in your file and there's no need for the PATH
> command.
>
> Try this:
> COPY (or XCOPY) <source> <destination>
> Use the "/y" switch to avoid the overwrite prompt.
>
>
> "CMD "COPY" command not working in Vista"
> <CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in message
> news:9BF5B6C5-D42F-4000-B0C1-F02D85FC3218@xxxxxx
Quote:

> > Hi SG,
> > Thanks for your reply!
> > The contents of my batch file is:
> >
> > PATH C:\; C:\Windows; C:\Windows\System32
> > COPY C:\Program Files\BioClinic\*.*
> >
> > Just two simple lines and this batch file was working fine in the old
> > laptop
> > computer that was running Windows XP. I copied the same batch file to the
> > brand new DELL latop that came with Windows Vista and NOT working.
> > Thanks, Pete
> >
> > "SG" wrote:
> >
Quote:

> >> Hi Pete,
> >>
> >> Post the contents of your batch file, not the file it's self.
> >>
> >> --
> >> All the best,
> >> SG
> >> "CMD "COPY" command not working in Vista" <CMD "COPY" command not working
> >> in
> >> Vista @discussions.microsoft.com> wrote in message
> >> news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
> >> >I am trying to create an automatic Backup batch file using "COPY"
> >> >command
> >> >in
> >> > CMD prompt in brand new laptop running Vista; but the operation not
> >> > working.
> >> > Any help please?
> >> >
> >> > Pete
> >>
> >>
>
>
My System SpecsSystem Spec
Old 02-05-2008   #7 (permalink)
Ronnie Vernon MVP


 
 

Re: Command prompt "COPY" command not working in brand new Windows

Pete

Check out 'Robocopy'. Much more powerful and with many more options.

Robocopy /?

--

Ronnie Vernon
Microsoft MVP
Windows Desktop Experience


"CMD "COPY" command not working in Vista"
<CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in message
news:12EBEE35-4304-4D02-8DB0-F9BA51B20CFA@xxxxxx
Quote:

> Bob,
> Thanks for pointing out my omission!
> Actually it is : "COPY C:\Program Files\BioClinic\*.* F:\" ,where the
> "F:"
> being my USB memory stick.
>
> I thought may be the Vista came with no "COPY" command available and was
> looking for Vista CD but it was not in the box.
>
> But you have a good suggestion to try with XCOPY and I will do that when I
> get to the laptop next time because it's not with me now.
> Thanks much, Pete
>
>
>
> "Bob" wrote:
>
Quote:

>> There is no destination given in your file and there's no need for the
>> PATH
>> command.
>>
>> Try this:
>> COPY (or XCOPY) <source> <destination>
>> Use the "/y" switch to avoid the overwrite prompt.
>>
>>
>> "CMD "COPY" command not working in Vista"
>> <CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in
>> message
>> news:9BF5B6C5-D42F-4000-B0C1-F02D85FC3218@xxxxxx
Quote:

>> > Hi SG,
>> > Thanks for your reply!
>> > The contents of my batch file is:
>> >
>> > PATH C:\; C:\Windows; C:\Windows\System32
>> > COPY C:\Program Files\BioClinic\*.*
>> >
>> > Just two simple lines and this batch file was working fine in the old
>> > laptop
>> > computer that was running Windows XP. I copied the same batch file to
>> > the
>> > brand new DELL latop that came with Windows Vista and NOT working.
>> > Thanks, Pete
>> >
>> > "SG" wrote:
>> >
>> >> Hi Pete,
>> >>
>> >> Post the contents of your batch file, not the file it's self.
>> >>
>> >> --
>> >> All the best,
>> >> SG
>> >> "CMD "COPY" command not working in Vista" <CMD "COPY" command not
>> >> working
>> >> in
>> >> Vista @discussions.microsoft.com> wrote in message
>> >> news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
>> >> >I am trying to create an automatic Backup batch file using "COPY"
>> >> >command
>> >> >in
>> >> > CMD prompt in brand new laptop running Vista; but the operation not
>> >> > working.
>> >> > Any help please?
>> >> >
>> >> > Pete
>> >>
>> >>
>>
>>
My System SpecsSystem Spec
Old 02-05-2008   #8 (permalink)
Bob


 
 

Re: Command prompt "COPY" command not working in brand new Windows

You're welcome Pete.

"CMD "COPY" command not working in Vista"
<CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in message
news:12EBEE35-4304-4D02-8DB0-F9BA51B20CFA@xxxxxx
Quote:

> Bob,
> Thanks for pointing out my omission!
> Actually it is : "COPY C:\Program Files\BioClinic\*.* F:\" ,where the
> "F:"
> being my USB memory stick.
>
> I thought may be the Vista came with no "COPY" command available and was
> looking for Vista CD but it was not in the box.
>
> But you have a good suggestion to try with XCOPY and I will do that when I
> get to the laptop next time because it's not with me now.
> Thanks much, Pete
>
>
>
> "Bob" wrote:
>
Quote:

>> There is no destination given in your file and there's no need for the
>> PATH
>> command.
>>
>> Try this:
>> COPY (or XCOPY) <source> <destination>
>> Use the "/y" switch to avoid the overwrite prompt.
>>
>>
>> "CMD "COPY" command not working in Vista"
>> <CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in
>> message
>> news:9BF5B6C5-D42F-4000-B0C1-F02D85FC3218@xxxxxx
Quote:

>> > Hi SG,
>> > Thanks for your reply!
>> > The contents of my batch file is:
>> >
>> > PATH C:\; C:\Windows; C:\Windows\System32
>> > COPY C:\Program Files\BioClinic\*.*
>> >
>> > Just two simple lines and this batch file was working fine in the old
>> > laptop
>> > computer that was running Windows XP. I copied the same batch file to
>> > the
>> > brand new DELL latop that came with Windows Vista and NOT working.
>> > Thanks, Pete
>> >
>> > "SG" wrote:
>> >
>> >> Hi Pete,
>> >>
>> >> Post the contents of your batch file, not the file it's self.
>> >>
>> >> --
>> >> All the best,
>> >> SG
>> >> "CMD "COPY" command not working in Vista" <CMD "COPY" command not
>> >> working
>> >> in
>> >> Vista @discussions.microsoft.com> wrote in message
>> >> news:59DC385A-48A2-488B-9653-B1CE8524BB2F@xxxxxx
>> >> >I am trying to create an automatic Backup batch file using "COPY"
>> >> >command
>> >> >in
>> >> > CMD prompt in brand new laptop running Vista; but the operation not
>> >> > working.
>> >> > Any help please?
>> >> >
>> >> > Pete
>> >>
>> >>
>>
>>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Windows Mail Command "The Command Failed To Execute" Vista mail
How do you get to "Recycle Bin" from .Bat or command prompt? Vista General
"Open command prompt here" and "Copy as path" Vista performance & maintenance
How to modify "Program Files" from the command prompt with UAC on? Vista General
"Open Command Prompt Here"? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46