Windows 7 copying and Take Command

Jul 12, 2008
286
0
Las Vegas, NV
I'm running Windows 7 b7000.

As part of my backup, using a batch file I copy all the files from my "C" drive to a backup disk. But there's some typwe of translation that seems to take place, because folders that were / are part of my "All Users" Start Menu - "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" -- don't end up there on the backup drive -- or so it seems to me. It seems that they end up at "I:\Documents and Settings\All Users\Start Menu\Programs".

I understand the backward compatibility plan of Windows 7, but I didn't think that included physically moving files to the "old location."

I'm using TC 9.02. Is that the issue maybe? I wouldn't think so, but ...

Regards,
Chuck Billow
 
May 29, 2008
36
0
> As part of my backup, using a batch file I copy all the files from my "C" drive to a backup disk. But there's some typwe of translation that seems to take place, because folders that were / are part of my "All Users" Start Menu - "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" -- don't end up there on the backup drive -- or so it seems to me. It seems that they end up at "I:\Documents and Settings\All Users\Start Menu\Programs".
>
> I understand the backward compatibility plan of Windows 7, but I didn't think that included physically moving files to the "old location."

No translation but an artifact of the way Windows 7 and Vista store the
"Documents and Settings" folder. It's a junction to "Users" so your copy is
creating a real "Documents and Settings" folder by following the junction rather
than just creating a junction. Try using the /nj option on your copy to ignore
junctions. I don't know if copy will still create the junction entry without
actually following and copying the tree.

Dennis
 
Jul 12, 2008
286
0
Las Vegas, NV
No translation but an artifact of the way Windows 7 and Vista store the
"Documents and Settings" folder. It's a junction to "Users" so your copy is
creating a real "Documents and Settings" folder by following the junction rather
than just creating a junction. Try using the /nj option on your copy to ignore
junctions. I don't know if copy will still create the junction entry without
actually following and copying the tree.

Dennis

But it will still copy the original data? So I don't have to check every folder to make sure it's copied??

Regards,
Chuck Billow
 
May 29, 2008
36
0
> But it will still copy the original data? So I don't have to check every folder to make sure it's copied??

I haven't tested it but it should copy the actual original data. I'm not sure
about copying of the "Documents and Settings" junction.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
dbartt wrote:
| ---Quote---
|| But it will still copy the original data? So I don't have to check
|| every folder to make sure it's copied??
| ---End Quote---
| I haven't tested it but it should copy the actual original data. I'm
| not sure about copying of the "Documents and Settings" junction.

I use
*copy/[!DESCRIPT.ION]/a:-d/fhjkuvxz/nejt/s/md c:\ d:\
to back up my primary drive to another drive. It copies all files, but does
not copy trees starting at a junction. Files which have "hard links" (i.e.,
file bodies cataloged under multiple directory entries) are copied under
each directory entry. I use WinXP, on which attribute changes made for one
directory entry are not immediately updated for the other directory entries
of hard linked files, using /X/A:A to prevent making multiple copies of the
file body does NOT work. All physical files in the source tree are copied.
IIRC Vista allows directories to have be hard linked also; this may result
in whole trees duplicated...

Making a record of junctions on the backup device may be useful; you can do
it with a command like this:
pdir/s/a:j/(fpnq @junction[*]) c:\

Another useful, but very time-consuming process is to make a file to allow
recreating file hard links.
--
HTH, Steve
 
Jul 12, 2008
286
0
Las Vegas, NV
dbartt wrote:
| ---Quote---
|| But it will still copy the original data? So I don't have to check
|| every folder to make sure it's copied??
| ---End Quote---
| I haven't tested it but it should copy the actual original data. I'm
| not sure about copying of the "Documents and Settings" junction.

I use
*copy/[!DESCRIPT.ION]/a:-d/fhjkuvxz/nejt/s/md c:\ d:\
to back up my primary drive to another drive. It copies all files, but does
not copy trees starting at a junction. Files which have "hard links" (i.e.,
file bodies cataloged under multiple directory entries) are copied under
each directory entry. I use WinXP, on which attribute changes made for one
directory entry are not immediately updated for the other directory entries
of hard linked files, using /X/A:A to prevent making multiple copies of the
file body does NOT work. All physical files in the source tree are copied.
IIRC Vista allows directories to have be hard linked also; this may result
in whole trees duplicated...

Making a record of junctions on the backup device may be useful; you can do
it with a command like this:
pdir/s/a:j/(fpnq @junction
[*]) c:\

Another useful, but very time-consuming process is to make a file to allow
recreating file hard links.
--
HTH, Steve

Steve / Dennis,

Thanks guys. I'll try to see if I can get some of this to work.

Regards,
Chuck
 
Similar threads
Thread starter Title Forum Replies Date
thorntonpg windows 11 Support 12
vefatica Windows 10 themes Support 0
J Take command does not start on Windows 10 Support 3
D How to? Windows Key-Left and Windows Key-Right Support 9
Joe Caverly PYTHON from Microsoft Windows Store Support 2
D Open Windows 10 Photos app from command line Support 11
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
vefatica Console popup windows don't work correctly Support 0
D Layout debugger windows Support 2
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
nickles ANSI Colors Windows 7 no longer working Support 6
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
D Which is the latest version for Windows XP? Support 2
rconn News Windows 7 Support Support 0
Joe Caverly Windows Size is 80x0 Support 2
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
G Taskbar Windows 10 Support 7
T Windows Terminal Support 2
Joe Caverly Windows Sensor Support 5
vefatica Windows 10 and line wrapping selection? Support 6
fishman@panix.com New Problem with later Windows 10 Support 10
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
T Take Command v21 on Windows Server Support 1
Bill de Haan "Sensitive Privilege Use" in Windows security auditing Support 7
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
Joe Caverly What version and Windows OS are you using? Support 3
A Windows 10 This app can't run on your PC Support 2
G 4NT on Windows 10 Support 3
vefatica Undesired scrolling in Windows 10 enhanced console. Support 2
vefatica Windows 10 version number? Support 6
vefatica How do I see Windows 10's ANSI in action? Support 3
A List windows with titles matching given pattern? Support 2
M New "pinned" attribute (since Windows 10 1709) Support 6
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
M TCC incorrect dir output since Windows 1803 Support 6
G Version 20.11 installed on Windows 10 problems Support 9
fishman@panix.com TCC v22 & the Windows 10 Console Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
I tcmd versus tcc in Windows 10 Support 2
Dick Johnson DrawBox now broken in Windows 10? Support 6
CWBillow Editing in the root directory of windows 10 Support 6
CWBillow Clearing out the Windows Temp folder Support 2
H New command not working well in Windows 7 Support 4
H _winver shows 6.1 on windows 7 Support 7
Joe Caverly Windows x64 Support 4
mscheuner TCMD 20 on Windows 10 - always loosing its settings Support 1
fishman@panix.com Windows Installer failing again... Support 6

Similar threads