![]() |
|
[Shell] Create a shortcut with admin rights for the current vbscript or any other application - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] Create a shortcut with admin rights for the current vbscript or any other application (/showthread.php?tid=6210036) |
Create a shortcut with admin rights for the current vbscript or any other application - Hackoo - Jun 19, 2022 Hi 😋 I made a subroutine in order to create a shortcut for the current vbscript or any other application with arguments using an array that can be called as follow :
Code Create_Shortcut Array("Desktop","ShortcutName",WScript.ScriptFullName)OR
Code Create_Shortcut Array("Startup","ShortcutName",WScript.ScriptFullName)OR
Code 'Create_Shortcut Array(_Run_As_Admin_Create_Shortcut.vbs Run_As_Admin_Create_Shortcut.vbs (Click to View) |