Zyzzle 30.06.2009, 23:27 |
Accessing and/or creating files > 2 GB in DOS? (Users) |
Is there any way to access OR create a file > 2 GB in pure DOS? I think it SHOULD be possible to create a file > 2 GB but less than 4 GB in size, but I do not know how. I know it has to do with the high-order bit and its indicating positive or negative numbers. Since there are no negative file sizes, can DOS be patched to allow access from 0 to 4 GB - 1 file sizes at least? |
RayeR CZ, 01.07.2009, 02:28 @ Zyzzle |
Accessing and/or creating files > 2 GB in DOS? |
> Is there any way to access OR create a file > 2 GB in pure DOS? I think it --- |
Zyzzle 01.07.2009, 04:07 @ RayeR |
Accessing and/or creating files > 2 GB in DOS? |
I'd be interested in that 4GB Win98 patch for MPLAYER, if you have a link... sounds interesting. |
ecm Düsseldorf, Germany, 01.07.2009, 10:56 @ RayeR |
Accessing and/or creating files > 2 GB in DOS? |
> > Is there any way to access OR create a file > 2 GB in pure DOS? I think --- |
Laaca Czech republic, 01.07.2009, 14:41 @ ecm |
Accessing and/or creating files > 2 GB in DOS? |
And EDR-DOS (www.drdosprojects.de) can access files up to 256GB --- |
RayeR CZ, 01.07.2009, 18:40 @ Laaca |
Accessing and/or creating files > 2 GB in DOS? |
> And EDR-DOS (www.drdosprojects.de) can access files up to 256GB --- |
Khusraw Bucharest, Romania, 01.07.2009, 19:50 @ RayeR |
Accessing and/or creating files > 2 GB in DOS? |
> On what FS? It is not possible on FAT16/32. --- |
Rugxulo Usono, 01.07.2009, 22:27 @ RayeR |
Accessing and/or creating files > 2 GB in DOS? |
> I think it's not limitation of filesystem but DOS and programs which works |
Rugxulo Usono, 01.07.2009, 22:26 @ Zyzzle |
Accessing and/or creating files > 2 GB in DOS? |
> I know FAT16 partitions with 64 kb cluters sizes (4094 MB) and FAT32 |
Zyzzle 02.07.2009, 04:44 @ Rugxulo |
Accessing and/or creating files > 2 GB in DOS? |
I'm able to read and write to FAT16 partitions with 64kb cluster sizes in raw MS-DOS 7.1. Haven't tested true DOS 6.2 yet... |
Khusraw Bucharest, Romania, 02.07.2009, 07:55 @ Zyzzle |
Accessing and/or creating files > 2 GB in DOS? |
> FAT+ looks interesting, but individual applications which use signed --- |
Rugxulo Usono, 05.07.2009, 21:34 @ Rugxulo |
Accessing and/or creating files > 2 GB in DOS? |
> > How about ExFAT (FAT64) in DOS |
ecm Düsseldorf, Germany, 06.07.2009, 12:15 @ Rugxulo |
Accessing and/or creating files > 2 GB in DOS? |
> Just for reference, here's what's new in Linux land: --- |
Rugxulo Usono, 08.07.2009, 07:15 @ ecm |
Accessing and/or creating files > 2 GB in DOS? |
> Great, they make sure not to be sued for silly patents by writing trash |
ecm Düsseldorf, Germany, 08.07.2009, 12:43 @ Rugxulo |
Accessing and/or creating files > 2 GB in DOS? |
> Anyways, are you surprised? Linux has long since disliked DOS --- |
ecm Düsseldorf, Germany, 13.08.2009, 12:10 @ Rugxulo |
Retrieving files with invalid names |
I now added some kind of "support" for files with invalid file names to my current RxDOS source code. When it's determined that the file name is invalid but the attributes show that this entry should be a file or directory (not a label/LFN/whatever), the file name is internally replaced by a representation of the directory entry's cluster and an index into the cluster. This is coded in digits 0..9 and letters A..V allowing to store 5 bits per character. Since a file name created that way is unique on the drive (as long as the directory entry doesn't move), it's unique within any given directory too. To insure that the name doesn't collide with actually existing (long or short) names in the same directory, the last character of the name is set to colon (:), which is an otherwise invalid character for both long and short names. Since the name is always zero-padded, that colon comes as the 8th character only, so the DOS name expansion code can tell it apart from an actual drive letter. --- |
DOS386 21.10.2009, 01:20 (edited by DOS386, 21.10.2009, 01:32) @ Zyzzle |
Accessing and/or creating files > 4 GiB in DOS? |
> Is there any way to access OR create a file > 2 GB in pure DOS? --- |