Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Win7 batch
I regularly need to move files from a network share to my local hard drive, but I have to click through the overwrite prompts every time, it's getting very annoying.
Posted 10-Apr-13 21:51pm
Edited 10-Apr-13 23:08pm
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Do the following: run, for example, CMD.EXE. In the command windows, enter:
COPY /?
This drastic measure will certainly wake up old good "copy" command and force it to disclose all its mystical secrets. In particular, you will be informed on how to suppress a prompt for confirmation. Of course, if I just did not take a look at this sacred screen myself, I would never had guessed that it would require /Y parameter.
 
—SA
  Permalink  
Comments
Neven Iliev at 11-Apr-13 3:29am
   
No need to be a smartass. In the first place I need to move, not copy. Secondly I am having trouble making it work for network folders.
Sergey Alexandrovich Kryukov at 11-Apr-13 11:33am
   
Same thing. Isn't that obvious that you can also do "MOVE /?", with the same results? Are you going to accept the answer now?
 
As to your rudeness, do you think that being a grim type taking offense about any humorous note (like it or not) looks just silly. Normal people facing irony usually reply in iconic tone, ignore it, or the like. No one was trying to hurt your feeling, but you are addressing with direct rude words. No understanding of normal rules of a game. No matter, it's your own business.
 
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

It seems this is what I need to do:
move /y "\\server\folder" "C:\destination\
I also need to have Full Control permissions on the network, otherwise I get an "Access is denied." error.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 275
1 Maciej Los 230
2 Sergey Alexandrovich Kryukov 185
3 Afzaal Ahmad Zeeshan 152
4 ProgramFOX 130
0 OriginalGriff 6,524
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,218
3 Manas Bhardwaj 4,657
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 11 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100