1 pièce(s) jointe(s)
Créer un raccourcis en vbs. Remplir la case"démarrer dans"
Salut tous le monde j'ai un petit problème...
J'aimerais avoir le code vbs pour remplir la case ci dessous à la création de mon raccourci mais je ne le trouve pas,
Pièce jointe 481971
Mon code est le suivant
Code:
1 2 3 4 5 6 7 8 9
|
Option Explicit
Dim Shell, HackPath, INK
Set Shell = CreateObject("WScript.Shell")
HackPath = "\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"
Set Ink = Shell.CreateShortcut(HackPath & "\exe.lnk")
Ink.TargetPath = "\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\Shutdown\exe.bat"
Ink.Description = "test"
Ink.Save |
merci de votre aide par avance :)