Wednesday, May 28, 2014

How to Create shortcut using Wise Scripts

item: Get Environment Variable
  Variable=SYSDRIVE
  Environment=SystemDrive
end
item: Get Environment Variable
  Variable=PUBLIC
  Environment=PUBLIC
end
item: Create Shortcut
  Source=%SYSDRIVE%\Program Files (x86)\Mozilla Firefox\firefox.exe
  Destination=%PUBLIC%\Desktop\Firefox.lnk 
  Icon Pathname=%SYSDRIVE%\Program Files (x86)\Mozilla Firefox\firefox.exe
  Key Type=1536
  Flags=00000001
end


Note: Copy the highlighted content to notepad and change to .wse format and use it

No comments:

Post a Comment