I am starting to use TCMD v13 and one of the things I used to do with the old NC's file management aspect was to Graft:
" graft a subdirectory, moving it to a different parent directory in a single operation"
Didn't know if one had an alias already did this?
Looking for "graft" in the current v13 help file - I see this on the REN topic:
"You can also rename a subdirectory to a new location in the directory tree on the same physical drive (sometimes called "prune and graft"). You must specify the new name explicitly, not just give the path. For example, if the D:\TCMD directory contains a subdirectory TEST, you can rename TEST to be a subdirectory of the root directory like this:
[d:\tcmd] ren TEST \TEST\
"
So it order to do an alias that mimics NC's Graft - is there a way to check if old_name and new_name are on the same physical drive / or partition? Would @truename on both work?
Thanks in advance....
" graft a subdirectory, moving it to a different parent directory in a single operation"
Didn't know if one had an alias already did this?
Looking for "graft" in the current v13 help file - I see this on the REN topic:
"You can also rename a subdirectory to a new location in the directory tree on the same physical drive (sometimes called "prune and graft"). You must specify the new name explicitly, not just give the path. For example, if the D:\TCMD directory contains a subdirectory TEST, you can rename TEST to be a subdirectory of the root directory like this:
[d:\tcmd] ren TEST \TEST\
"
So it order to do an alias that mimics NC's Graft - is there a way to check if old_name and new_name are on the same physical drive / or partition? Would @truename on both work?
Thanks in advance....