Question

  Asked: Oct 8 2007   7:13 PM GMT
  Asked by: Lucke


Writing scripts


Network applications management, Networking, Scripting

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.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



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.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Networking and Microsoft Windows.

Looking for relevant Networking Whitepapers? Visit the SearchNetworking.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Kknowledge  |   Oct 8 2007  10:50PM GMT

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…

<a href="http://www.informit.com/articles/article.aspx?p=102209&seqNum=3&rl=1" rel="nofollow">http://www.informit.com/articles/article.aspx?p=102209&seqNum=3&rl=1</a>

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.

 

informit com articles  |   May 30 2008  8:51AM GMT

[…] More people tend to go with VB Script but kix is really much more …http://itknowledgeexchange.techtarget.com/itanswers/writing-scripts/InformIT.comOnline resource center that delivers premium IT content, access to industry experts, […]