Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pascal file limit... 1

Status
Not open for further replies.

brutteforcce

Technical User
Jun 23, 2006
105
RO
I have to assign some files in Pascal that have more than 8 characters. What can I do?
 
Hi

brutteforcce said:
I have to assign some files in Pascal that have more than 8 characters. What can I do?
Maybe to rephrase your question...

Do you mean, the filename is longer than 8 characters ? Which would mean long filename, aka LFN.

If so, you can use the corresponding old DOS names :
Code:
[gray]{ c:\Program Files\Apache Group\Apache2\conf\httpd.conf }[/gray]
assign(fil,[i]'c:\progra~1\apache~1\apache2\conf\httpd~1.con'[/i]);

Or see what can you find on the web. For example on Franz Glaser's page there are some related links.

Or try to compile your program with FreePascal. It supports LFN.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top