PDA

View Full Version : Open a Document Using Specified Exe


photoworks
04-20-2001, 07:55 AM
I have an rtf document that I want to open using a specific program called Cword which is in the root direcory of the CD. Is there a way I can open the rtf document using Cword rather than users association for rtf?

David Kay

Mark
04-20-2001, 09:17 AM
Hi,
What you should do is use an EXECUTE PROGRAM action to execute "CWord" and then pass the full path to your RTF file in the Arguments field.

So your EXECUTE PROGRAM action might look something like:

File Name: %SrcDrv%\CWord.exe
Arguments: %SrcDrv%\Docs\MyRtf.RTF

mark.