Thank you very much. It works great! If i pray you to make and another alias to create a shortcut, i'll be very thankful. Please help me. The vbscript code is:

Code:
Set oWS = WScript.CreateObject("WScript.Shell")
sLinkFile = "C:\Users\*\Desktop\mIRC.lnk"
Set oLink = oWS.CreateShortcut(sLinkFile)
oLink.TargetPath = "C:\Program Files\mIRCs\mIRC\mIRC.exe"
oLink.IconLocation = "C:\Program Files\mIRCs\mIRC\mIRC.exe, 22"
oLink.WorkingDirectory = "C:\Program Files\mIRCs\mIRC\"
oLink.Save


Instead of linkfile will be used $1, targetpath - $2, iconlocation - $3, workingdir - $4 .. i mean /cutcreate $1 $2 $3 $4

Last edited by klez; 03/04/17 06:36 AM.