First post, by emendelson
For an OS X application that I'm working on, I want to be able to send the 8.3 filename of a file to DOSBox via the command line so that an application running under DOSBox can open the file. The original file may have a long name like this - "My Long FileName.doc" - but applications running under DOSBox can only see the short filename (MYLON~1.DOC). I am trying to figure out what the short filename would be BEFORE I run DOSBox so that I can feed that name through the command line.
Under Windows, it's easy to get the 8.3 filename from a long filename, but I don't know of any way to do this under OS X (or Linux). If anyone knows such a way, I would be very grateful to learn about it.