Long and short filename by DIR
- Posted by Gilbert Lemaitre <lemaitre at adfi.ucl.ac.be> Jan 06, 2002
- 438 views
Using the standard routine DIR, after x = DIR(st) in DOS32 : x[1] is a standard DOS 8.3 name in WIN32 : x[1] is a long file name I need both name in my programs. How can I get them in WIN32? Suggestion: DIR should return a 10th entry and x[10] should always be the standard DOS 8.3 (in WIN32 and in DOS32). Almost all the old programs should run without modification since they don't use x[10]. What is your answer to my question and your opinion to my suggestion?