Re: DOSMS Copy


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

Posted by Marc Shevick on January 13, 2005 at 10:10:23:

In Reply to: DOSMS Copy posted by Stephen Auerbach on January 13, 2005 at 08:36:19:

Steve - there is an unpublished routine that Peter gave me years ago that allows you to convert long file names to actual file names. It is as follows:

!=====================================================================!
! 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@"
TLEN$ = "@3E000000@"
AX$ = "@FFF2@"
DOSMS (AX$, PCNAME$, TLEN$, DOSFILE$) EXCP=PROCFILE

I just throw this into all my routines preceeding an import just to make sure that the file name is usable in COMET. If you have any questions, contact me directly. Marc


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 ]