PDA

Click to See Complete Forum and Search --> : changing file extention


jmpatrick
Oct 9th, 2000, 09:53 AM
I'm using ShellExecute API to run an outside application (Acrobat Reader). Is there a way to put a faux file extention on my (.pdf) (ie- .xxx) files to have my outside application (Acrobat Reader) to execute.

I have several reasons to do this, one of which is that if someone has Acrobat Exchange loaded, the (.pdf) files will open in that app. -You get the picture- I want to change my (.pdf)s to another extention name and have them be mapped to my outside app (Reader).

I also would like to change the mapping of the extention, to no longer read the (.xxx) as a Acrobat Reader file when I get out of the program.

Any suggestions?? I am a novice, so please don't assume I know much.

jp

Oct 9th, 2000, 01:40 PM
Use the Name statement to name files

Name "MyFile.pdf" As "MyFile.xxx"