Jump to content

Recommended Posts

Posted

I have a certain EXE that I am trying to add to the HKLM\RUN section via AutoIt. Adding the feature works fine however this exe need to be started from a specfic directory. The EXE uses files from the other directory. When creating a shortcut I set the Startin folder. Is there a way to do this using AutoIt via the registry maybe?

Posted

Hi Eagle 710,

try lloking up FileChangeDir() in the Helpfile.

Regards,

Hannes

:)

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Posted

Also why do you want to use the Registry? (Curious :) ) Have a look in my signature for _Startup() and you will see I add to the @StartupDir, so just change the working directory in the FileCreateShortcut() Function.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 2/17/2011 at 2:41 PM, 'Hannes123 said:

Hi Eagle 710,

try lloking up FileChangeDir() in the Helpfile.

Regards,

Hannes

:)

How would I use the FileChangeDir function to change the Startin directory of a registry value?

Posted

  On 2/17/2011 at 3:16 PM, 'guinness said:

Also why do you want to use the Registry? (Curious :) ) Have a look in my signature for _Startup() and you will see I add to the @StartupDir, so just change the working directory in the FileCreateShortcut() Function.

I dont mind placing the files in te startup folder but I dont want the startup folder to appear in the start menu. Any way to hide this?

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...