Re: importing DOS Files


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

Posted by Jim Guerber on October 31, 2005 at 12:20:19:

In Reply to: importing DOS Files posted by Jay Hubbell on October 31, 2005 at 11:58:02:

Sure, once the file lands in a comet folder, make your program just do a create. If it is created as a text file, you the create will get an excp=13 which means that the underlying file was discovered to exist and the file was just registered with Comet. A create with just file name, directory and excp= will do the trick....


create 'file', dir='dir', excp=check
.
.
.

check:
if excp=13 goto ItsThere
print 'unexpected error ';excp

.
.
.


As to how to copy the file to the directory, If you cannot make the program that generated the file in the first place put it there, try the (copyfile) mnemonic. Look at the link below.





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 ]