Welcome Guest. Please Login or Register. Apr 5th, 2018, 11:41pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
You'll have to find type$, but that is simply RIGHT$(old$,3)
This isn't always true, e.g. .docx, .html
It will still work though. Since type$ can be anything, if it's ocx instead of docx, or tml instead of html, it won't make any difference. However it's obviously easier to set it to something constant like tmp than to bother with deriving it from the original filename. After all, the temporary file only exists for a very short time.
But using SYS "MoveFile" avoids the use of a temporary file altogether.