I use the run command from within VFP to use Word (RUN /N C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\WINWORD.EXE) and I would like to be able to set the default directory that Word uses to open and save files to be the directory name contained within a variable in VFP. For example - I have a variable within VFP that contains C:\AUDITS, how can I call up Word (from within VFP) and have it's default directory (where it looks for files when you issue FILE, OPEN) automatically changed from C:\MY DOCUMENTS to C:\AUDITS?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.