otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filenames problem

depeschzeu opened this issue · comments

I am trying to run windows95 application that is 16 bit under Windows 10 21H2
When I run a file open dialog within application it doesn't see files with long names.
Under DOS and rearly Windows long filenames has been truncated to acceptable length adding ~1 etc in the end of filename to meet known shortname requirements.
I still can open such files by drag-and-dropping them to application, but I wish there was such a fix within your program. some envitonment setting or something allowing to browse directories and select files.
Now it is not possible.

Winevdm will use short filenames if they are available as most win16 programs can't handle them. Either you are hitting a broken corner case in which case a trace is needed to debug or short file names are disabled on the drive you are using as winevdm depends on Windows to provide them.