![]() ![]() I tried to use cmd command mklink, but this command creates. For adding something to Autorun I should create shortcut.lnk and put it to C:UsersUserAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup. I get a "Optional parameters must specify a default value. exe file and I want to add it to Autorun without using explorer. IconLocation = Application.ExecutablePathĪnd everything works. WorkingDirectory = Application.ExecutablePath OShortCut = oShell.CreateShortcut(My.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |