Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

long file names for existing DOS C code?

Posted on 1999-01-25
2
Medium Priority
?
237 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
Suggested Courses

597 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