?
Solved

long file names for existing DOS C code?

Posted on 1999-01-25
2
Medium Priority
?
227 Views
Last Modified: 2010-04-15
Code is Borland C v5.02 DOS with 8.3 file name restriction.
What is the easiest way to get long file names?
Is there a DOS extender that does this and is cheap?
I want to script the program so Windows is not my choice.
I will probably port to Linux but would still like version
 for the PC masses.

Ed
0
Comment
Question by:edscott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 300 total points
ID: 1258367
Yes, you can get the long file names. Use int 21h Function 7160h (Get Long Path Name).

Windows 9x provides a bunch of int 21h Function 71xxh that works with long file names. I would recommend you get the book Programmer's Guide to Windows 95. Chapter 24 talks about these functions and how to use them.
0
 

Author Comment

by:edscott
ID: 1258368
OK, that probably works.  I can isolate this non standard stuff and keep the code close to portable. It will be nice getting it into Linux and away from all these proprietary kludges.  Thanks for your response.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question