Welcome to LogMeIn Support!
Reset Search
Search

Article

Delete desktop shortcuts

« Go Back

Information

 
Description
This script deletes desktop shortcuts from All Users\Desktop on Windows XP or Public\Public Desktop on Windows Vista and newer.
Change the Shortcut.lnk parameter to the exact name of the shortcut (with any spaces) and add the .lnk extension.
Body@ECHO OFF

%SystemDrive%
cd \
cd %allusersprofile%\desktop
del "Shortcut.lnk"

REM***Deletes desktop shortcuts from "all users\desktop" (XP) or "public\public REM***desktop (Vista/Win7). Change "Shortcut.lnk" parameter to exact name of the REM***Shor
ProductLogMeIn Rescue; LogMeIn Central

Is this article helpful?

 

   



Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255

 

Close X