+ Post New Thread
Results 1 to 4 of 4
Windows Thread, Copy folder structure (xcopy) in Technical; I'm trying to copy a folder structure(no files) of a share off of an old server using xcopy and the ...
  1. #1
    tommej's Avatar
    Join Date
    Oct 2009
    Location
    Lincolnshire
    Posts
    680
    Thank Post
    36
    Thanked 129 Times in 98 Posts
    Rep Power
    76

    Copy folder structure (xcopy)

    I'm trying to copy a folder structure(no files) of a share off of an old server using xcopy and the /t /e switches, but it keeps saying insufficient memory. Possibly because its also copying subfolders which I'm not too fussed about.


    Is there another method I can use to get around this, or a way of just excluding subfolders?

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,777
    Thank Post
    865
    Thanked 1,664 Times in 1,449 Posts
    Blog Entries
    11
    Rep Power
    442
    use robocopy its far better

    robocopy \\sourceserver\share \\destinationserver\share /mir

  3. Thanks to FN-GM from:

    tommej (8th September 2011)

  4. #3
    tommej's Avatar
    Join Date
    Oct 2009
    Location
    Lincolnshire
    Posts
    680
    Thank Post
    36
    Thanked 129 Times in 98 Posts
    Rep Power
    76
    robocopy \\sourceserver\share \\destinationserver\share /mir /Z /PF /XF *

    Was what I was after. Forgot 2k3 had a resource kit! Ta very much.

  5. #4

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,224
    Thank Post
    54
    Thanked 276 Times in 184 Posts
    Rep Power
    133
    Or RichCopy - a bit newer!

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 29th January 2013, 10:16 AM
  2. script to copy folder contents
    By ful56_uk in forum Scripts
    Replies: 4
    Last Post: 7th April 2010, 10:08 AM
  3. Script to copy folder
    By cookie_monster in forum Windows
    Replies: 5
    Last Post: 7th October 2009, 10:52 AM
  4. Best Way to copy folder to PC's
    By TechSupp in forum Windows
    Replies: 4
    Last Post: 15th May 2009, 04:51 PM
  5. how to copy folder using putty
    By ranj in forum *nix
    Replies: 2
    Last Post: 26th June 2008, 05:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •