Well - got some bad news for you. If what you were trying to do was actually supported in Kixtart - your script would have look like this:
Code:
Break On
$wdUserTemplatesPath = 2
$wdWorkgroupTemplatesPath = 3
$wdAutoRecoverPath = 5
$wdStartUpPath = 7
$objWord = CreateObject("Word.Application")
$objOptions = $objWord.Options
$objOptions.DefaultFilePath($wdUserTemplatesPath) = "C:\UTemplates"
$objOptions.DefaultFilePath($wdWorkgroupTemplatesPath) = "C:\WTemplates"
$objOptions.DefaultFilePath($wdAutoRecoverPath) = "C:\AutoRecover"
$objOptions.DefaultFilePath($wdStartUpPath) = "C:\StartUp"
$objWord.Quit
$objWord = 0
Exit 0
BUT - unfortunately, this line here:
$objOptions.DefaultFilePath($wdUserTemplatesPath) = "C:\UTemplates"
and the other three lines below it ARE NOT supported by Kixtart. In Kixtart, you cant write to a property that has arguments. You can only read them. We've been down this road with the Developer - and he has stated that implementing support for this will not be possible.
So - unless you can find another PROPERTY or METHOD that does what you want it to do - think you'll have to stick with VBS for this small bit.