|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
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 |
#2
| |||
| |||
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. |
#3
| |||
| |||
Re: Command prompt "COPY" command not working in brand new Windows Vis
Replace COPY with XCOPY. |
#4
| |||
| |||
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 |
#5
| |||
| |||
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. |
#6
| |||
| |||
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 |
#7
| |||
| |||
Re: Command prompt "COPY" command not working in brand new Windows
Pete Check out 'Robocopy'. Much more powerful and with many more options. Robocopy /? |
#8
| |||
| |||
Re: Command prompt "COPY" command not working in brand new Windows
You're welcome Pete. |
![]() |
|
Tags: brand, command, copy, prompt, vis |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
After scanning with Spybot S&D getting error "c:\windows\system32\command.com the parameter is incorrect" | Nasir h | Networking & Security | 6 | 18-07-2012 03:39 PM |
Shell command "load" not working in CloudMe | jAYASENA | Technology & Internet | 4 | 18-06-2011 10:14 AM |
Access denied to "C:" drive in command prompt | zakir | Operating Systems | 3 | 14-08-2009 02:48 PM |
Discover the amazing command "SystemInfo" in Windows XP/Vista | TechyGuy | Tips & Tweaks | 0 | 05-12-2008 08:20 PM |
SMTP command "xexch50" with "504 Need to authenticate first ". The full command sent was "XEXCH50 1020 2 ". | ecscomp | Small Business Server | 2 | 07-12-2006 05:56 PM |