Page 1 of 1 1
Topic Options
#53871 - 2001-02-14 05:33 PM excel and word default save locations help
Anonymous
Unregistered



--------------------------------------------------------------------------------
I have added lines in my script to change the default file SAVE location for office 97.
The script runs and the registry is change and this work for excel, but not word.The change is made in the registry for word and if I go into Word TOOLS, OPTIONS and file location, the change is made for the default and the auto save, but when I am in Word and go to file save as ,the SAVE IN is alway c:\.
I have also add lines for the shell folders and the user shell folder. what am i missing Does anyone know.
Here are the lines
WriteValue ("HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\EXPLORER\SHELL FOLDERS", "PERSONAL", "\\comop6\USERS$$\@USERID", "REG_SZ")
WriteValue ("HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\EXPLORER\USER SHELL FOLDERS", "PERSONAL", "\\comop6\USERS$$\@USERID", "REG_SZ")

WriteValue ("HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\8.0\WORD\OPTIONS", "DOC-PATH", "\\comop6\\USERS$$\@USERID", "REG_SZ")
WriteValue ("HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\8.0\WORD\OPTIONS", "Autosave-PATH", "\\comop6\\USERS$$\@USERID", "REG_SZ")
WriteValue ("HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\8.0\EXCEL\MICROSOFT EXCEL", "DefaultPath", "\\comop6\USERS$$\@USERID", "REG_SZ")


Top
#53872 - 2001-02-16 05:26 AM Re: excel and word default save locations help
Anonymous
Unregistered


If I remember right there was some funky stuff when setting that default drive.

Can you try setting it to a common drive letter? (H:\Documents) instead of the UNC?

I think there may have been a problem with using a UNC on that dialog, but It's been a while since I've played with it.

You could also use the Policy template (off97nt4.ADM) from the Office Resource Kit.
http://www.microsoft.com/office/ork/download/SetupPol.exe

I have used the above policy and it works well.

Top
#53873 - 2001-02-20 03:23 AM Re: excel and word default save locations help
bleonard Offline
Seasoned Scripter
*****

Registered: 2001-01-19
Posts: 581
Loc: Chicago, IL
Jim -
I'm with Schmecky that it is probably the use of UNC for save location. If this save location is the users home drive, why not relocate this portion of your script until after the drive mapping portion, and simply use the drive letter you are mapping to their home drive, as opposed to the UNC name?

Bill

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (StuTheCoder) and 798 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.051 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org