Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Has Windows something similar to xcopy /s /e ?

Status
Not open for further replies.

cgkeller

Programmer
Apr 12, 2000
200
CA
I have quite a few empty subdirectories (Jan to Dec) which will be filled as the year progresses. So I use the DOS command:
xcopy (source) (destination} (switches) to properly copy all the empty subdir from the source to the destination.

My question is: is there something similar under the copy and paste command in Windows?

my old DOS switches do allow me to do the following:

/S: Copy the specified dir and all its subdir, except for empty subdir

/E: Copy all subdir, incl. empty subdir. Use this switch with the /S switch.

Your inputs will be very much appreciated.

Charles.
 
Are you saying you can't copy and paste empty sub-dirs in Windows Explorer? Works ok here...

ROGER - G0AOZ.
 
Memo to Roger - Goaoz

You are right, it works too on my computer.
Thank you for your answer.

Charles.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top