VOGONS


First post, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

Dear all,

not quite sure whether this is the correct forum.

Situation:
- I use large directory structures (>100 subdirectories) e.g. for game archives
- directories can be accessed via SMB or directly on CDROM
- MSDOS 6.22 used

Issue:
- after "browsing" several subdirectories, all directories become empty (virtually)
- I have to restart the PC then to see the content again

This issue can be reproduced.

Already played with files= xxx etc. but this doesnt change anything.

Any suggestions?

Thank you

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I

Reply 1 of 16, by brotherdg2@gmail.com

User metadata
Rank Newbie
Rank
Newbie

I suggest using DR-DOS 6

Reply 2 of 16, by wierd_w

User metadata
Rank Oldbie
Rank
Oldbie

There is an 'implied' maximum directory depth limitation with FAT filesystems, resulting from the maximum 256 character total path restriction.

There is also a 'root directory entry' max restriction, but I forget what it is off the top of my head.

Reply 3 of 16, by konc

User metadata
Rank l33t
Rank
l33t

If this structure is created on, for example, Windows 11 and then accessed by MSDOS, a guess would be that you are hitting the path size limit of MSDOS.

Reply 4 of 16, by Errius

User metadata
Rank l33t
Rank
l33t

Hundreds of directories in DOS/Win 3.x is a bad idea. Even if it's supported by the OS, you will encounter old programs that become confused.

I work around this by creating A B C ... X Y Z directories and putting the games/programs in the appropriate subdirectory

e.g.

C:\DOSAPPS\O\OUTRUN
C:\WINAPPS\N\NETSCAPE

Some programs don't like this and have to be installed in root, but most work well like this.

Last edited by Errius on 2025-10-10, 12:29. Edited 1 time in total.

Is this too much voodoo?

Reply 5 of 16, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

Thanks all so far.

For clarification:

It’s not about lengths of pathes / directories.

It’s like this:
- Games
— subdir1
— subdir150

They are all visible and accessible initially. But after having ~5 directories visited, all directories become empty / not accessible.

It is not related to which directories I visit first. After having eg five opened (after another) the described situation occurs.

Ah I saw the last post too late. I already structured it like that 😀 but thanks

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I

Reply 6 of 16, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

But yea maybe it’s simply a msdos limit

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I

Reply 7 of 16, by unterwulf

User metadata
Rank Newbie
Rank
Newbie

Are you using bare command.com for "browsing" (like cd and dir commands) or some file manager? Could it be a file manager problem and not DOS per se?

Reply 8 of 16, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

Great point.

I normally use NC.
But even when then quitting and accessing via pure commandline the issue remains: empty folders.

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I

Reply 9 of 16, by Jo22

User metadata
Rank l33t++
Rank
l33t++
Marco wrote on 2025-10-10, 12:09:

They are all visible and accessible initially. But after having ~5 directories visited, all directories become empty / not accessible.

It is not related to which directories I visit first. After having eg five opened (after another) the described situation occurs.

This is strange. It's as if a buffer is running out or something.
Is it related to SmartDrive, maybe?

Also, you can try running FastOpen, maybe it helps.
It basically keeps a copy of index in memory for quicker file access.
Not sure if it will work with network drives, though.

"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//

Reply 10 of 16, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

Great. I will check both options as I mainly use smartdrv. Thank you

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I

Reply 11 of 16, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

Great. I will check both options as I mainly use smartdrv. Thank you.

Just checked: fastopen can’t be used for network drives. So maybe I try with smartdrv off next.

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I

Reply 12 of 16, by Deunan

User metadata
Rank l33t
Rank
l33t

IIRC fastopen only works on executables, and FILES= does nothing for listing directories. You want to play with BUFFERS= but frankly that just should not happen. Too low buffers would just slow the listing (require re-read of the media), not cause the problem you have.

I would blame SMARTDRV (or whatever disk cache you're using), MSCDEX bugs (even if the problem also appears on HDDs, because it sorts of integrates itself into OS and could cause such issues), or even bad RAM. You could try MSCDEX from Win3.1(1) to see if it helps any. If you're using EMM386 disable that, see if it helps, could be a weird UMB issue that just happens to be triggered by the usage pattern you have.

Reply 13 of 16, by Cyberdyne

User metadata
Rank Oldbie
Rank
Oldbie

I have burned many DOS and early Windows collections of DVD-DL 8GB. Standard ISO. Readable with MSCDEX. Try not to use over 3 levels of directories because few games and software have their own levels of directories. UltraISO version 9.x is the best software for my experience to make and burn legacy ISOs, you can set special limitations for DOS. Works in XP to 11.

I am aroused about any X86 motherboard that has full functional ISA slot. I think i have problem. Not really into that original (Turbo) XT,286,386 and CGA/EGA stuff. So just a DOS nut.
PS. If I upload RAR, it is a 16-bit DOS RAR Version 2.50.

Reply 14 of 16, by mkarcher

User metadata
Rank l33t
Rank
l33t

Do I understand you correctly that the issue happens both with CDROMs that have this structure as well as with network drives with that structure? What network software do you use to access the network drive?

As both standard DOS 5 network drivers (Novell's VLM, Microsoft SMB stack, ethdosfs) and MSCDEX use the same "installable file system" infrastructure, this could in fact be an issue in the MS-DOS kernel with any kind of installable file system.

Reply 15 of 16, by igully

User metadata
Rank Newbie
Rank
Newbie

If you want to stay safe never exceed 512 files/directories entries per directory, and never go beyond 9 levels deep creating subdirectories.
Some implementations may be more tolerable, others will cry foul at first sight.
Also keep an eye on conventional memory availability: some programs allocate it thinking it is "just a few files", and end up swallowing it like there is no tomorrow if a scenario is non-standard.

Reply 16 of 16, by Marco

User metadata
Rank Oldbie
Rank
Oldbie

I won’t bet anything right now that it is also valid with cdrom but for sure with smb shares using msclient.
Thanks again I see it could be smartdrv, usage of Norton commander or simply a kernel issue (by design). Fastopen and buffers / files can be excluded. Too low conventional memory and too „deep“ file structure as well.

Thanks

1) VLSI SCAMP 311 | 386SX25@TI486SXLC2-50@63 | 16MB | CL-GD5428 | CT2830| SCC-1 | MT32 | WDC160GB/7200/8MB | Fast-SCSI AHA 1542CF + BlueSCSI v2/15k U320
2) SIS486 | 486DX/2 66(@80) | 32MB | TGUI9440 | LAPC-I