Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Network dos command problem?

HI,

I have this command to copy a file across a network :-

xcopy "\\newpc\aplog\X3AP\log0001.txt" C:\test\ /y"

It come back with a parse error, what could be wrong please?

Arnak

Update:

Thanks for the replies, I did miss that extra " .8-((

Without it I now get invalid drive specification, any ideas on that please.

I have taken the path directly from the properties of that file location but there must be something I am doing wrong but I can't see what...

3 Answers

Relevance
  • ?
    Lv 7
    9 years ago
    Favorite Answer

    You have three quotation marks ( " ) when none are needed to begin with.

  • 9 years ago

    Last quote mark " is causing the command to fail. Quotes should always be in pairs, and are only needed if a path name or a file name contans blanks. The /y should be outside any quotes you use.

  • Anonymous
    9 years ago

    use a program to do it

    Source(s): dropbox.com teamviewer
Still have questions? Get your answers by asking now.