• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

Application Startup Script

I need help with the syntax to add to our existing logon scripts in order to have an application run at login.  Application is already installed locally on each XP machine in the domain.  Location is c:\Program Files\xxx.  Any assistance is greatly appreciated.
1 Solution
All you should need to do is add a line with the full path to the executable...key being to put the whole thing inside quotes as there will be spaces:

"C:\Program Files\Microsoft Office\Office11\Excel.exe"
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
Or if you're using vbs

  Set objShell = CreateObject("WScript.Shell")
  objShell.run "c:\Program Files\xxx"

(note: if you already created the Wscript.Shell object then you don't need to create it again)

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now