0 pts.
 Writing scripts
I have to redirect "User Templates" in MS Word to shared folder on our network. I think this could be done by writing a script but I have no kwoledge of script writing. Does anyone know of a website that offers guides to scripting from basics onwards.

Software/Hardware used:
ASKED: October 8, 2007  7:13 PM
UPDATED: October 8, 2007  10:51 PM

Answer Wiki:
Oops I posted this a discussion of the answer first - not as the answer. Technology is so confusing.... There are a number of ways to do this. If you utilized logon scripts, you can easily modify this using vbscript or with a tool like Kixtart. I have an article on modular scripts with kixtart from a few years ago - here at informit.com… http://www.informit.com/articles/article.aspx?p=102209&seqNum=3&rl=1 More people tend to go with VB Script but kix is really much more accessible to most network administrators - with hundreds of functions and commands for doing things like what you are asking… For instance, the following is some kixtart script that would alter where word would save documents by default - something else you can move to the network. ; Set registry settings for MS Office $strregpath = “HKEY_CURRENT_USERSoftwareMicrosoftOffice11.0″ ; Set Word $strkey = “WordOptions” $strentry = “DOC-PATH” $strvalue = $strword WriteValue($strregpath + $strkey, $strentry, $strvalue, “REG_SZ”) =============================================== WriteValue alters the registry key based on the variables provided. This assumed Office 2003. I hope this helps.
Last Wiki Answer Submitted:  October 8, 2007  10:51 pm  by  Kknowledge   10 pts.
All Answer Wiki Contributors:  Kknowledge   10 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

There are a number of ways to do this. If you utilized logon scripts, you can easily modify this using vbscript or with a tool like Kixtart.

I have an article on modular scripts with kixtart from a few years ago – here at informit.com…

http://www.informit.com/articles/article.aspx?p=102209&seqNum=3&rl=1

More people tend to go with VB Script but kix is really much more accessible to most network administrators – with hundreds of functions and commands for doing things like what you are asking…

For instance, the following is some kixtart script that would alter where word would save documents by default – something else you can move to the network.

; Set registry settings for MS Office
$strregpath = “HKEY_CURRENT_USERSoftwareMicrosoftOffice11.0″

; Set Word
$strkey = “WordOptions”
$strentry = “DOC-PATH”
$strvalue = $strword
WriteValue($strregpath + $strkey, $strentry, $strvalue, “REG_SZ”)
===============================================
WriteValue alters the registry key based on the variables provided. This assumed Office 2003.

I hope this helps.

 10 pts.