Work in Borland C++3.1 with long file names

I am working on a project for my school please don't ask why in Borlnad C++3.1 for Dos.It's very importat for me to menage this. All that I want is how to acces the clusters
or am another posibility to do this for creating a directory with long file name in Dos, rename it, deleting it and of couse the posibility to print on the screen. This is all. If someone know the answer to this I would apreciate if he could delever me the answer.
DragosEugenAsked:
Who is Participating?
 
newexpertCommented:
How to create long file names:
1. Create the directory entry with the short file name (eg "Progra~1")
2. In the following directory entries put down the rest of names (eg "m Files", and set all of their attributes, ie FA_RDONLY+FA_HIDDEN+FA_SYSTEM+FA_LABEL+FA_DIREC+FA_ARCH)

In Borland C++ you can use _dos_setattrib() function to do the job.
0
 
DragosEugenAuthor Commented:
Thank you for reading this.
(Please excuse my English errors.)
0
 
hustchCommented:
0
 
DragosEugenAuthor Commented:
How about accesing it.
0
 
DragosEugenAuthor Commented:
How about accesing it.
Should findnext do the job.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.