Duplicate directory path and copy files and subdirectories.

Sep 26, 2018
This used to be a feature of xtree. The idea is that my current working directory is D:\FILE\MISC\pictures
and I say "copy/MT *.* F:" then I get everything in the working directory to appear in F:\FILE\MISC\pictures
rather than in F:\ (which is what happens with "copy *.* F:").

"copy/MT/S *.* F:" would allow subdirectories also to be copied. "copy/MT/U *.* F:" would only copy
newer files. I use /MT for "make tree."

F:\FILE\MISC\pictures would be created if it did not exist.

I can do it with a batch file but it would be nice to have it built in. It allows a back up to a thumb drive or
other drive from where one is working without having to go navigate the back up drive.
Oct 18, 2009
I'm assuming that if you use something like "copy /MT *.* F:\Backups\2019\12-03" that it would put the copies in F:\Backups\2019\12-03\FILE\MISC

Aside from making backups easy, that would also be useful for copying from a test/development folder to a production folder or copying installation or update folders and files from a thumb drive to bunch of users' PC's for installation, etc.

One additional feature I would suggest is some way to be able to use this either over a network or with Remote Desktop. So it could be run to copy a bunch of folders from a server to a user's PC or from the Remote Desktop client to the Remote Desktop host without mapping.

In those cases, it would also be helpful to be able to access the C:\ drive of the PC the folder\files will be copied to.
Sep 26, 2018

I agree about "F:\Backups\2019\12-03" with the tree you are using extended below that. (I can't do that with the batch file I use.)

The remote desktop capability sounds like it would be useful.
Similar threads
Thread starter Title Forum Replies Date
Alpengreis Done Preserves directory attributes for COPYDIR & COPY Suggestions 3
Joe Caverly Done FTP / HTTP URLs in directory aliases Suggestions 2
D Done bash style directory bookmarks Suggestions 9
R Declined History: show in which directory a command has been typed. Suggestions 6
mfarah Done TCEDIT: Edit ⇒ Insert Directory, Filename... how about date/time as well? Suggestions 0
D Done @expand should support directory aliases. Suggestions 0
thorntonpg Done Goto folder in file explorer from the current directory in the tcc prompt Suggestions 7
joltcoder Done Support an "up" command to go to parent directory and "up3" to go up 3 directories, etc. Suggestions 4
M Done Allow a full search in the directory history Suggestions 2
rps Done Command and directory history pop-up additions Suggestions 2
mfarah Declined (Filename and)Directory completion keystroke: "stop cycling here and cycle through one level deeper" Suggestions 13
JohnQSmith Done Extended Directory Search Suggestions 11
J Directory Aliases and file:// Suggestions 0
Simon Done Natively query active directory Suggestions 3
S Done Extended directory search database Suggestions 2
S Done Automatic quoting of directory and file names Suggestions 0
S Done Duplicates for Directory History Suggestions 2
S Done GLOBAL command start directory Suggestions 1
samintz Done Support ~ and :path in COPY Suggestions 5
mfarah Done TCEDIT: show the full name (with drive and path) of the active file on the title bar. Suggestions 3
Charles Dye TCEDIT: Path search option Suggestions 1
Emilio III Done Full path with short names Suggestions 2
R Done System variable with TCC folder path Suggestions 8
mfarah "Relative path" option for PDIR Suggestions 1
M Done Verify validity of file name and/or path... Suggestions 2

Similar threads