BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NT4 File Extensions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Nate Lockwood
Guest





PostPosted: Thu Aug 11, 2005 3:39 pm    Post subject: NT4 File Extensions Reply with quote



Does NT4 support file extensions greater than 3 characters?

TIA

Nate
Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Thu Aug 11, 2005 3:52 pm    Post subject: Re: NT4 File Extensions Reply with quote



Nate Lockwood wrote:

Quote:
Does NT4 support file extensions greater than 3 characters?

The operating system certainly does. More accurately it no longer
cares. some file system drivers impose some limitations but generally
speaking NT views "FRED.DOC" as an eight character name and has no
concept of 'extensions'.

The shell OTOH may still regard an extension as something special and I
don't know to how it reacts to extensions with more than three
characters.

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html

Back to top
Nate Lockwood
Guest





PostPosted: Thu Aug 11, 2005 4:08 pm    Post subject: Re: NT4 File Extensions Reply with quote



Andrue Cope [TeamB] wrote:

Quote:
The operating system certainly does. More accurately it no longer
cares. some file system drivers impose some limitations but generally
speaking NT views "FRED.DOC" as an eight character name and has no
concept of 'extensions'.

The shell OTOH may still regard an extension as something special and I
don't know to how it reacts to extensions with more than three
characters.

I'd just try it but the machine is about 100 miles away from me.

Thanks

Nate



Back to top
Alan Bellingham
Guest





PostPosted: Thu Aug 11, 2005 4:14 pm    Post subject: Re: NT4 File Extensions Reply with quote

"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote:

Quote:
The shell OTOH may still regard an extension as something special and I
don't know to how it reacts to extensions with more than three
characters.

Assuming this hasn't changed between NT4 and NT5 (aka Windows 2000):
pretty much as one would hope - you can associate even something like
'Andrue Label' with a file type. (Though the space in the middle makes
life slightly more interesting.)
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK

Back to top
Nate Lockwood
Guest





PostPosted: Thu Aug 11, 2005 4:45 pm    Post subject: Re: NT4 File Extensions Reply with quote

Alan Bellingham wrote:
Quote:
"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote:


The shell OTOH may still regard an extension as something special and I
don't know to how it reacts to extensions with more than three
characters.


Assuming this hasn't changed between NT4 and NT5 (aka Windows 2000):
pretty much as one would hope - you can associate even something like
'Andrue Label' with a file type. (Though the space in the middle makes
life slightly more interesting.)
Alan Bellingham

My problem is that I have an application that reads data files generated
by software written by others and the data files are both .dat.

One data file is selected by the user via a file picker or by drag and
drop. If the user wants to extract, process, and save to file certain
data I must have the application automatically look in the same folder
for the second data file. I can change the extension for the second
data file as I have that application's code but want to choose both a
reasonable extension name and one that's not used much by other
applications. I see a trip to San Diego to the NT machine coming up. :-}

Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Fri Aug 12, 2005 8:01 am    Post subject: Re: NT4 File Extensions Reply with quote

Nate Lockwood wrote:

Quote:
I can change the extension for the second data file as I have that
application's code but want to choose both a reasonable extension
name and one that's not used much by other applications.

Then you can do what you want. Alan says that even the shell doesn't
care any longer. It sounds like the definition of 'an extension' is:

Windows Shell:The rightmost dot and whatever comes after it.
Windows OS:A what?

:)

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html

Back to top
Tony Groves
Guest





PostPosted: Fri Aug 12, 2005 3:10 pm    Post subject: Re: NT4 File Extensions Reply with quote

Nate Lockwood wrote:
Quote:
Does NT4 support file extensions greater than 3 characters?

File extensions can be as long as you like (as long as the whole file
name still fits into 255 characters or whatever the limit is). There are
plenty of everyday examples of longer extensions: *.html, *.java,
*.torrent, etc.

Tony.

Back to top
Nate Lockwood
Guest





PostPosted: Sat Aug 13, 2005 6:09 pm    Post subject: Re: NT4 File Extensions Reply with quote

Nate Lockwood wrote:
Quote:
Does NT4 support file extensions greater than 3 characters?

TIA

Nate

Thanks, I hope we can retire the NT4 machine in a few months.

Nate

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.