Posted by Marc Shevick on November 08, 2005 at 15:59:35:
In Reply to: Get 8.3 name posted by Grant Foraker on November 08, 2005 at 10:34:43:
Grant - don't know if this is what you are looking for, but the following is the unpublished way of converting a long file name to a usable DOS name:
!=====================================================================!
! 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@" !entire path including name of file to convert
TLEN$ = "@3E000000@"
AX$ = "@FFF2@"
DOSMS (AX$, PCNAME$, TLEN$, DOSFILE$) EXCP=PROCFILE
PCNAME$ = STRIP(DOSFILE$) ! short file name is in DOSFILE$
Marc