I did manage to get this to do what i was looking for and can use it to paste in a path note in a drawing too, left the mapkey for note out as it is pretty straight forward Now when I launch Word off quick launch, it has the macro command line edits.. it is running in the wd and looks there for files and pictures
Stu.. I'll try your method on some of these apps that don't have the marco option..Thanks All :-)
- mapkey-----------------
mapkey wd @SYSTEMC:\\proe2001\\batch\\workdir.bat;
- batch file--------------
cd > c:\workdir.txt
if you want Word to follow the working dir around then add this macro to normal.dot or template of your choice create shortcut- add space after .exe /mmacro1 and /ttemplatename if you use other than normal, might have to have the /ttemplatename before the macro part
Sub Macro1() Open "c:\workdir.txt" For Input As #1 Input #1, fstr Options.DefaultFilePath(wdDocumentsPath) = fstr Options.DefaultFilePath(wdPicturesPath) = fstr Close #1 End Sub