Subject:
|
I hereby accect long file names!
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 2 Mar 2007 23:32:17 GMT
|
Viewed:
|
4404 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad.dev, Travis Cobbs wrote:
|
In lugnet.cad.dev, Tore Eriksson wrote:
|
Well, I made a small program in Delphi 7 that lists the command line
parameters, drag and dropped a file named LongFileName.dat in it, and here
is the surprising result: http://web.telia.com/~u66203131/pix/ShowParms.jpg
(Running on a Win98SE PC.)
|
My best guess is at that time MS was trying to make things safe for old
programs (although it seems senseless for them to have done this with Win32
apps). If you call the Win32 function GetLongPathName on the short path, it
will give you the long path. If youre worried about users not liking that ~
crap in the files they see, thats apparently required in Win 9x.
|
Its an utterly complicated way, but it works! Only problem is that
GetLongPathName erases all other kinds of command line parameters.
Now that I know that at least it is possible to avoid shortened pathnames, I
rest my case. I no longer oppose the use long file or path names.
/Tore
|
|
Message is in Reply To:
39 Messages in This Thread: ![LDView 3.1 on Mac OS X! -Jim DeVona (19-Feb-07 to lugnet.announce, lugnet.cad.dev.mac, lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Travis Cobbs (19-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/246.gif) ![Re: LDView 3.1 on Mac OS X! -Travis Cobbs (19-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Travis Cobbs (19-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (19-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/246.gif) ![Re: LDView 3.1 on Mac OS X! -Travis Cobbs (20-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (20-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Travis Cobbs (20-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/246.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (21-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (22-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (22-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDView 3.1 on Mac OS X! -Allen Smith (27-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/246.gif) ![Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Tore Eriksson (28-Feb-07 to lugnet.cad.dev.mac, lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Timothy Gould (28-Feb-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Tore Eriksson (1-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Timothy Gould (1-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Timothy Gould (1-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Tore Eriksson (2-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Ross Crawford (2-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Tore Eriksson (2-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Ross Crawford (2-Mar-07 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Travis Cobbs (2-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Willy Tschager (2-Mar-07 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)? -Manfred Moolhuysen (3-Mar-07 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Allen Smith (2-Mar-07 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Timothy Gould (2-Mar-07 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Travis Cobbs (1-Mar-07 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!) -Allen Smith (2-Mar-07 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDView 3.1 on Mac OS X! -Ross Crawford (1-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Allen Smith (2-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Ross Crawford (2-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Travis Cobbs (2-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Ross Crawford (2-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Joshua Delahunty (3-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (3-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Ross Crawford (3-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif) ![](/news/46.gif) ![Re: LDView 3.1 on Mac OS X! -Jim DeVona (3-Mar-07 to lugnet.cad.dev.mac)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDView 3.1 on Mac OS X! -James Reynolds (21-Feb-07 to lugnet.cad.dev.mac)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|