There is a folder in which I have a file, and a shortcut to that file.
I need a VBscript in the same folder which will move the shortcut to the desktop.
If there is any more information you require to help me, I will give it to you.
There is a folder in which I have a file, and a shortcut to that file.
I need a VBscript in the same folder which will move the shortcut to the desktop.
If there is any more information you require to help me, I will give it to you.
I tested it and it works for me...
Dim ObjFso
Dim SourceLocation
Dim DestinationLocation
Dim FileName
SourceLocation = "C:\REST-OF-PATH"
DestinationLocation = "%userprofile%\Desktop\"
FileName = "FILENAME"
Set ObjFso = CreateObject("Scripting.FileSystemObject")
ObjFso.MoveFile SourceLocation & "" & FileName, DestinationLocation & ""
Just copy all this...
Then replace REST-OF-PATH
with the rest of the path
And Replace FILENAME
with the name of the file