To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10556
10555  |  10557
Subject: 
Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)?
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 2 Mar 2007 03:08:21 GMT
Viewed: 
4649 times
  
In lugnet.cad.dev, Timothy Gould wrote:
   In lugnet.cad.dev, Timothy Gould wrote:
   In lugnet.cad.dev, Tore Eriksson wrote:
   In lugnet.cad.dev, Timothy Gould wrote:
   --snip--
   So far, we have maintained the old DOS convention of max. 8 chars and no SPACE used in folder names. I realize that fewer and fewer programs and utils are made in DOS evironments, maybe I’m the only to still make quick ‘n’ dirty programs in Borland TC++ or in its likeness.

But yet, I haven’t heard anyting of letting go of the standrad either.

My question is: Do we still maintain the DOS naming convention in LDraw?


/Tore

(FOT: lugnet.cad.dev)

Personally I’m against maintaining it. It forces us into strange naming conventions for something which probably affects no users of the software.

Tim

It it really so? We still use renderers and utilities that have command line inputs, and I don’t know but I have a strong feeling that long names may cause problems like “Unofficial” turs into “Unoffi~1” followed by path not found errors. And the next step, using space chars in a path or file name is no doubt equal to asking for trouble.

I suggest we all try to do programs that support all kinds of file names, but when naming official folders and files, we stick to the problem free standard to avoid unnecessary bug reports and support requests.

(As I took my first steps into the world of PC in pre-Windows environemts, I find the non-DOS naming conventions (or rather, lack of conventions) very strange) ;)


/Tore

I’m not sure about 98 and its ilk but I’ve never had any problems with long filenames in XP for l3p (and possible other command lines although I can’t remember any off hand).

I would certainly recommend against using spaces in filenames as Linux (and possibly MacOSX) won’t like it.

Tim

And sorry to reply to myself... Could people using older operating systems test this?

I’m happy to maintain the status quo if there are problems but if no-one finds problems then I think we make the majority suffer for something that isn’t really a problem.

Tim

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.)

So I think long file names still has the potential to cause problems. That is, if I’m not guilty of bad programming in this test.

It would be interesting if someone could voulenteer to try the result on an XP machine. Here’s my test program: http://web.telia.com/~u66203131/pix/ShowParmameters.exe


/Tore



Message has 4 Replies:
  Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)?
 
(...) (URL) Here's> the output on XP. ROSCO (18 years ago, 2-Mar-07, to lugnet.cad.dev, FTX)
  Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)?
 
(...) 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 (...) (18 years ago, 2-Mar-07, to lugnet.cad.dev, FTX)
  Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)?
 
(...) (URL) on Win2000 SP4 w. (18 years ago, 2-Mar-07, to lugnet.cad.dev, FTX)
  Re: Testing long filenames was Re: Unofficial directory (with non-standard name lenght)?
 
(...) showing D:DownloadsShowParameters.exe The second line (Label2) however, stays blank. With friendly greetings, M. Moolhuysen. (18 years ago, 3-Mar-07, to lugnet.cad.dev, FTX)

Message is in Reply To:
  Testing long filenames was Re: Unofficial directory (with non-standard name lenght)?
 
(...) And sorry to reply to myself... Could people using older operating systems test this? I'm happy to maintain the status quo if there are problems but if no-one finds problems then I think we make the majority suffer for something that isn't (...) (18 years ago, 1-Mar-07, to lugnet.cad.dev, FTX)

39 Messages in This Thread:











Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR