Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Long file name support
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 24th April 22:20
dj delorie
External User
 
Posts: 1
Default Long file name support



Since DJGPP's programs *are* DJGPP programs (makes sense, yes?) the
TSR (if any) would affect both.

If your friends need LFN support, they'd need the TSR installed also.
  Reply With Quote


  sponsored links


2 24th April 22:20
charles sandmann
External User
 
Posts: 1
Default Long file name support



This is probably a feature of the drag/drop interface. It sees the image
is a DOS image, and assumes it doesn't support short names, so helpfully
sends the short name.

If you really want the long name you can try to call one of the LFN
API calls to try and expand it.

LFN TSRs are not required under Windows 2000 or Windows XP if you have
upgraded to the V2.03 refresh or V2.04 alpha test.
  Reply With Quote
3 24th April 22:20
eli zaretskii
External User
 
Posts: 1
Default Long file name support


Yes, this is a misfeature of Windows' interface with DOS programs.
  Reply With Quote
4 24th April 22:21
kenton w. mellott
External User
 
Posts: 1
Default Long file name support


Is the LFN TSR needed if you can access the DOS interrupts with assembly
language? Hans Lunsing wrote some PowerBASIC code for handling long file
names, filed as PBlfn322.zip on web page
http://www.basicguru.com/dikkenberg/dos/pbsrca.html
It is mainly assembly code for getting the DOS interrupts.

Sincerely,

Gregory D. MELLOTT
  Reply With Quote
5 24th April 22:21
charles sandmann
External User
 
Posts: 1
Default Long file name support


The built-in C run-time functions (fopen, etc) work directly with long
names under all platforms which support the long file name DOS interrupts.


This type of code has been available in DJGPP since Windows 95 was released
(about 8 years ago).
  Reply With Quote
6 24th April 22:21
kenton w. mellott
External User
 
Posts: 1
Default Long file name support


Is the TSR to allow one to run in the just DOS (not in a DOS window), and
still have long filename functionality?
<snip>
  Reply With Quote
7 24th April 22:21
charles sandmann
External User
 
Posts: 1
Default Long file name support


There are TSRs for regular DOS which provide long filename functionality
(file system may have long names when booted under Windows 95, for example).

There is a TSR designed to support long names under Windows NT - which
has a native file system that supports long names - but the DOS Window
does not support the long name DOS API.

So in general, if you aren't under DOS or Windows NT you don't need a
TSR for long names.
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666