Discussion Locked

Opening files in Word 2000

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to make some shortcuts for word to put on the desktop. I'm trying to make it so that each different shortcut will have a different default directory to open files from. For example I'd like to be able to click on "word office", have word launch, and then when I go to file open have it go to the office directory, and also have it do the same for a different directory. I know how to specify which folder under the tools, options, but that seems to work for only one directory. Any suggestions? Thanks,

13 replies

by duong beo

It's really a nice idea. However it's a bit tricky to get around this. I suggest you create an auto macro for each of them. The macro is to set option for default open directory (in tools | options as you usually do it manually).

Good luck,

Duong beo

by dmiles

Can only suggest you go to the file menu click on customize.It does have customizing short cut keys

by george

Mary, I use several macro's to do this (and also to put specific files in this directories). It goes like:
ChangeFileOpenDirectory "F:\Data\Documents"
On Error GoTo ForgetIt
Dialogs(wdDialogFileOpen).Show
ForgetIt:
End Sub

Then make a buttonon the toolbar to use this macro. Really quite simple.
If you want the opposite macro (to save a file) please let me know.
George

by kelsaidi

a shortcut example is:
Winword.exe /mChangePath1
where the switch /m tells word to run a macro

In your template Normal.dot create as much macro as the next example, each refer to a folder:

Sub ChangePath1()
ChangeFileOpenDirectory "C:\word office"
end sub

Done

by mr.ie

Although, the answers previously given will work, I wouldn't want to edit my normal.dot file to auto run macros every time I opened Word.

Try this:

1. Create a text file in the windows directory called DOC-PATH.txt and paste this into the file:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options]
"DOC-PATH"="[INSERT YOUR PATH HERE]"

2. Replace the contents where it says "INS your path here" with the full path you want to use.

3. Now save the file as c:\windows\DOC_PATH_1.REG

4. Create a batch file on your desktop with the following contents:

:begin
regedit -s c:\windows\DOC-Path1.REG

start "c:\Program Files\Microsoft Office\Office\winword.exe"
exit
:end

5. Modify the properties of the batch file to display the Word icon if you want, and rename it to corespond with the target directory.

By doing this; you essentially create a wrapper for Word that sets the Document path that Word uses right before you execute the program.

Whenyou become comfortab

by mr.ie

Although, the answers previously given will work, I wouldn't want to edit my normal.dot file to auto run macros every time I opened Word.

Try this:

1. Create a text file in the windows directory called DOC-PATH.txt and paste this into the file:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options]
"DOC-PATH"="[INSERT YOUR PATH HERE]"

2. Replace the contents where it says "INS your path here" with the full path you want to use.

3. Now save the file as c:\windows\DOC_PATH_1.REG

4. Create a batch file on your desktop with the following contents:

:begin
regedit -s c:\windows\DOC-Path1.REG

start "c:\Program Files\Microsoft Office\Office\winword.exe"
exit
:end

5. Modify the properties of the batch file to display the Word icon if you want, and rename it to corespond with the target directory.

By doing this; you essentially create a wrapper for Word that sets the Document path that Word uses right before you execute the program.

Whenyou become comfortab

This discussion is closed to new replies.