Re: Host of DOS file I/O and new neumonics


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Marc Shevick on May 09, 2006 at 14:30:15:

In Reply to: Host of DOS file I/O and new neumonics posted by Keith Smith on May 09, 2006 at 13:56:17:

Keith - there use to be a way to convert long names to short names for use with the old dos functions. It was:
!=====================================================================!
! The following checks to see if there is a long file name that needs !
! to convert to the short file name so that comet can recognize. !
!=====================================================================!
!
DOSFILE$ = STRIP(PCNAME$) + "@00@"
SAVFILE$ = DOSFILE$
TLEN$ = "@3E000000@"
AX$ = "@FFF2@"
DOSMS (AX$, PCNAME$, TLEN$, DOSFILE$) EXCP=OPNERR
!
Have not used this in a while. Since the copyfile function allows for long file names, I use the copyfile instruction to copy the long file into a comet file that I can use.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]