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
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
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
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
>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
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
>
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
> 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
>>
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:
> 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>
> > 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
> >>
> >>
>
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
> 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:
>
>> 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>>
>> > 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
>> >>
>> >>
>>
You're welcome Pete.
"CMD "COPY" command not working in Vista"
<CMDCOPYcommandnotworkinginVista@xxxxxx> wrote in message
news:12EBEE35-4304-4D02-8DB0-F9BA51B20CFA@xxxxxx
> 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:
>
>> 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>>
>> > 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
>> >>
>> >>
>>
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Mail Command "The Command Failed To Execute" | southron_98 | Vista mail | 27 | 26 Jul 2009 |
| "Elevated Command Prompt"? | CWLee | Vista General | 3 | 15 Feb 2008 |
| "Open command prompt here" and "Copy as path" | Moody Marco | Vista performance & maintenance | 10 | 04 May 2007 |
| How to modify "Program Files" from the command prompt with UAC on? | Steve Maser | Vista General | 3 | 10 Jan 2007 |
| "Open Command Prompt Here"? | Scott | Vista General | 20 | 19 Dec 2006 |