Jump to content

Recommended Posts

Posted (edited)

Is there a way I can add a .exe file to the start up list? Thanks.

<{POST_SNAPBACK}>

FileCopy(file.exe,C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\file.exe)

Or CreateShortcut to the same place

Or even "C:\Documents and settings\" & Envget("USER") & "\Start Menu\Programs\Startup\file.exe"

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Posted

Here you go.

They both work, I tested them.

FileCreateShortcut(@ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE", @StartupDir & "\IEXPLORE.lnk", "", "", "Shortcut made with AutoIt v3")
      FileCreateShortcut(@ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE", @StartupCommonDir & "\IEXPLORE.lnk", "", "", "Shortcut made with AutoIt v3")

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