Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Launching from startup and using command line data entry

  • 13-01-2013 09:53PM
    #1
    Registered Users, Registered Users 2 Posts: 524 ✭✭✭


    Hi there,
    I'm trying to set up an application so that it automatically starts when the PC starts, but I also want the application to run setup file.

    the applocation in question does acceppt command line input

    The example given in it's help file is...
    VSPEmulator.exe c:/config_files/main.vspe
    This should launch th application and run a file called main.vspe

    I'm able to have the aplication start by puting a shortcut into the "startup" section, but I can't figure how to run the command line automatically???

    OS is win 7

    Thanks,
    Ray


Comments

  • Registered Users, Registered Users 2 Posts: 122 ✭✭MrECameraman


    trackerman wrote: »
    Hi there,
    I'm trying to set up an application so that it automatically starts when the PC starts, but I also want the application to run setup file.

    the applocation in question does acceppt command line input

    The example given in it's help file is...
    VSPEmulator.exe c:/config_files/main.vspe
    This should launch th application and run a file called main.vspe

    I'm able to have the aplication start by puting a shortcut into the "startup" section, but I can't figure how to run the command line automatically???

    OS is win 7

    Thanks,
    Ray

    Use HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \Run and pop it in there as a reg_sz


  • Registered Users, Registered Users 2 Posts: 524 ✭✭✭trackerman


    Wow, way too complicated for me I'm afraid...

    me and regedit don't get on....


  • Registered Users, Registered Users 2 Posts: 1,456 ✭✭✭FSL


    Navigate to HKey_Local_Machine \ Software \ Microsoft \ Windows \ CurrentVersion \Run
    In the right hand portion of the screen right click and chose New string value. Give it a name then right click on the name and choose modify
    then in the text box paste (including the quotation marks) "VSPEmulator.exe c:/config_files/main.vspe"

    Click OK and that's all there is to it


  • Registered Users, Registered Users 2 Posts: 524 ✭✭✭trackerman


    Got it, cheers.

    Thanks all.


Advertisement