
How To Open Write File With Shell
Just remove the / before the c:\... and you should be up and running!
Hope this helps...
Miguel Santos
__________________________________________________________
Quote:
> I want to be able to display a .wri file when program runs.
> using Retval = Shell("c:\windows\write.exe", 1) I can display windows
> write.
> but what i want to happen is start write.exe and open file. I have tried
> using
> Retval = Shell("c:\windows\write.exe /c:\dir\file\test.wri",1) but does
> not work.
> Could someone tell me what i am doing wrong. Thanks for any help.