kingcake wrote on 2024-06-13, 18:49:
Fat32 has file attributes but no permissions. You're thinking about NTFS.
You're right about those file systems.
I wasn't explaining myself properly, sorry about that.
wbahnassi wrote on 2024-06-13, 20:06:
No I think he means if you try to copy from system files that are open with exclusive access by the system then the copy will fail on those files, so it's better to copy outside the live OS.
+1
That's what I meant to say, thanks. ^^
I wasn't sure about the details, though.
I just remembered for sure that Windows 9x prevented things like "Format C:".
douglar wrote on 2024-06-13, 20:11:The Win9x DOS understands long file names. Try "DIR /N" […]
Show full quote
Jo22 wrote on 2024-06-13, 18:33:
Well, it would be good if LFNs are being preserved during copy operations.
Though on plain MS-DOS 7.1, there's no LFN support enabled by default, as far as I know.
The Win9x DOS understands long file names. Try "DIR /N"
The Win9x XCOPY will preserve the long file names.
I would use these flags when copying a Win9x install: XCOPY C:\*. * D:\ /h/e/k/r
/H - Copy hidden and system files
/E - Copies any subdirectories, even if they are empty
/K - Copies attributes (as opposed to resetting read-only attributes)
/R - Overwrite read-only files (so you don't get errors on msdos.sys, etc)
Hi, I was thinking about doing these things from Real-Mode DOS because that's what I used to use in the MS-DOS 6.20/Windows 3.1 days.
I continued doing such things in the DOS 7 days, but that's when LFNs got in the way.
Some DOS utilities provide LFNs in pure MS-DOS 7.x, too.
So LFN aware file managers like Norton Commander 5.x and File Maven may support them under pure DOS, too.
Would be cool, because of null-modem connections, so the target PC could boot up via a small boot up disk containing LFN-enabled DOS 7.1 and all incoming data could be writen to C: (CF card).
PS: Thanks for explaining the switches, too.
It's good to know, including the OP and me. 😅
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel
//My video channel//