Hi all. I have been messing about with a couple of scripts to make a shortcut on my desktop. I have been using xxmklink.exe and this works pretty well. Though I would like to learn how to do it via .vbs. I have this .cmd Code: @echo off %system% xxmklink.exe %USERPROFILE%\Desktop\Documents.lnk %USERPROFILE%\Documents > nul Using the %USERPROFILE% allows me to add this into my $OEM$ and run via runonce Works a treat. I know how to make a .vbs to make a shortcut with this script Code: Option Explicit Dim obj, nLink Set obj = CreateObject("wscript.shell") Set nLink = obj.CreateShortcut("C:\Users\Malc's\Desktop\Documents.lnk") nLink.TargetPath = "C:\Users\Malc's\Documents" nLink.Description = "My Documents" nLink.IconLocation = "C:\windows\MyIcons.dll,6" nLink.Save As you can see I have to write the path using the systems name. Trouble is I don't always install onto a PC called "Malc's" I also have this script Code: Set objShell = CreateObject("Wscript.Shell") strProfile = objShell.ExpandEnvironmentStrings("%userprofile%") Wscript.Echo strProfile which displays the current user. What I would like to do is make my .vbs script use %userprofile% instead of an actual name. Know what I mean ? Spent the last hour or so getting very frustrated trying to learn how to write a script. kept getting errors. so Please help.