Jump to content

Start Word With "dot" To Open In Hide-mode

Recommended Posts

Hi All!

I want to modify the normal.dot for a few users.

The script should be placed in the logon-script and the user shouldn't see anything about the actions of the normal.dot. :whistle:

So my script :

$shortname=FileGetShortName ( "C:\somewhere\old-normal.dot" )
     Run ( @ProgramFilesDir & "\Microsoft Office\Office\winword.exe " & $shortname, "", @SW_HIDE )


;    RunWait ( @ProgramFilesDir & "\Microsoft Office\Office\winword.exe " & "C:\somewhere\old-normal.dot", "", @SW_HIDE )

In this case @SW_HIDE does not work B) why?

Can anyone help me?



Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...