Board index » delphi » accessing long filenames in win95
l...@logica.com (john lee)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
l...@logica.com (john lee)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
accessing long filenames in win95Anyone have any pascal routines to enable one to access these from dos under Alternatively, anyone know how it's done? ---------------------- |
Chris Ranki
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:accessing long filenames in win95Quotejohn lee wrote: *PROVIDED* that the IFS driver is installed. This is true if you are running in a Win95 DOS box, but not if you boot into MS-DOS mode. A complete description of the INT $21 services can be found in Ralph Brown's Interrupt List (ftp://garbo.uwasa.fi, in /pc/programming/inter*.zip - I think...) If you intend to run your application in MS-DOS mode then you will need Chris. |
Dr John Stockto
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:accessing long filenames in win95In article <5d4vcf$...@romeo.logica.co.uk> of Mon, 3 Feb 1997 15:14:46 Quote>Anyone have any pascal routines to enable one to access these from dos under -- John Stockton, Surrey, UK. j...@merlyn.demon.co.uk Turnpike v1.12 MIME Web URL: http://www.merlyn.demon.co.uk/ Standard signature separator is as above, a line containing "-- " (SoRFC1036) |
Timo Sal
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:accessing long filenames in win95In article <32F6404F.3...@Logica.com>, 361769 Jan 12 1997 ftp://garbo.uwasa.fi/pc/programming/inter53a.zip 361969 Jan 12 1997 ftp://garbo.uwasa.fi/pc/programming/inter53b.zip 362565 Jan 12 1997 ftp://garbo.uwasa.fi/pc/programming/inter53c.zip 427649 Jan 12 1997 ftp://garbo.uwasa.fi/pc/programming/inter53d.zip 218367 Jan 12 1997 ftp://garbo.uwasa.fi/pc/programming/inter53e.zip 217499 Jan 12 1997 ftp://garbo.uwasa.fi/pc/programming/inter53f.zip All the best, Timo .................................................................... |
Richard Jame
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:accessing long filenames in win95QuoteOn Mon, 3 Feb 1997, john lee wrote: are designed to let you do just that. I would suggest that before you even attempt to use them that you check that the DOS version is 7 or later (as I expect there to be later versions!). However to be able to use these new calls means you would then have to write your own replacement FINDFIRST/FINDNEXT/BLOCKREAD/OPEN/ASSIGN etc functions which use these NEW calls. Before you do, I would have a look around the net as chances are someone probably has already written a TPU for TP7. If not, the best FREE source of information on these calls is Ralph Browns Ok, a little bit more detail :-) E.g from what I can remember the LAST ACCESSED date/time for example is BTW: If you think about it, because of the way long filenames are stored Linux I believe has Windows 95 long filename support. My own advice Regards Richard/Arjay P.S Can't fully remember as I have been using Windows 95 for well over a /----------------------------------------------------------------------\ |
The Dark Knig
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:accessing long filenames in win95Richard James allegedly said: RJ> The best way is to use the "new" DOS 7 function calls [Int 21h] to which This is not sufficient, as more than one DOS 7.0 exists. You must: Use the Int 21h "DOS Version" function (AH=30h, AL=00h to get OEM number). AH will contain the major version number, AL will contain the minor revision (Table 0741) Here's the TP7 source to get the OEM number: FUNCTION WhichDOS: Byte; { Using long way for protect mode } VAR BEGIN Hope this helps. -- |
1. Accessing Long Filenames under Win95 dos session
2. extend borland pascal to long filenames and use of win95/98/me/xp filedialogs
3. Erase Function for Win95 Long Filenames
4. Long filenames (under Win95 and higher)
5. Moving files but keeping the long Win95 filename
7. w95tpl10.zip Turbo Pascal TPL For Win95 Long Filenames, T.Kirchner