winevdm icon indicating copy to clipboard operation
winevdm copied to clipboard

filenames problem

Open depeschzeu opened this issue 8 months ago • 2 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.

depeschzeu avatar Dec 01 '23 14:12 depeschzeu

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.

cracyc avatar Dec 01 '23 18:12 cracyc

@depeschzeu - Here are instructions for checking/enabling 8.3 filenames:

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil

emendelson avatar Dec 01 '23 19:12 emendelson