1

Konu: WScript.Shell

desktop a kısa yol yaratırken allatki koda benzer bir kod kullanıyorum
burada" yonetici olarak çalıştır " ve "programın çalışacağı uyumluluk modu" yok bunu nasıl yaparım

WshShell = Createobject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")

oShellLink = WshShell.CreateShortcut(strDesktop + "\programınkısaadı .lnk")
oShellLink.TargetPath = acilisdizin+"exeadi.EXE"
oShellLink.WindowStyle = 3
oShellLink.HotKey = "CTRL+SHIFT+F"
oShellLink.IconLocation = acilisdizin + "iconadi.ICO"
oShellLink.Description = "tanım "
oShellLink.WorkingDirectory = acilisdizin
oShellLink.Save

2

Re: WScript.Shell

daha önceden bir link oluşturup bunu  yazılımla desktop ın altına atsam nasıl fikir ?


teşekkürler

3

Re: WScript.Shell

Cevabi bilmiyorum. Onceden olusturdugunda path tutmayabilir. Linkte kullanici kendisi run as admin ayarini yapabilir. Ya da shortcut'a hic dokunmasan kendi exe'ne administrator seviyesi icin manifest eklesen?

4

Re: WScript.Shell

Hmm belki manifest shortcut'a da eklenebilir (mi acaba).