Set h = WScript.CreateObject("WScript.Shell") Set oLink = h.CreateShortcut(".\Environment Variables.lnk") oLink.TargetPath = "%SystemRoot%\System32\rundll32.exe" oLink.Arguments = "sysdm.cpl,EditEnvironmentVariables" oLink.IconLocation = "%SystemRoot%\System32\shell32.dll,104" oLink.Save