Application Startup Script

Posted on 2007-10-05
Last Modified: 2010-04-16
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.
Question by:serovso
    LVL 19

    Accepted 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"
    LVL 18

    Expert Comment

    by:Jeremy Weisinger
    Or if you're using vbs

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

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
    Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now