extension for shortcut
hi all, i need to remoe a few hundred shortcut files from a folder. The shortcuts are all over the place e.g. within subfolders etc want to do this from the command prompt but what is the extension for a shortcut? for example i would use rm *.??? any suggestions please
August 18th, 2012 7:38am

shortcuts have a .lnk extentionJustin | http://patchmypc.net
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2012 7:40am

thank you i will try that, how will i tell the command to delete the .lnk files from within subfolders? e.g. i have a folder called e:\shared but there are loads of subfolders as follows which all have .lnk file in e:\shared\foldeA e:\shared\folderB e:\shared\folderC etc . .
August 18th, 2012 8:30am

open command promt use cd to go the the root folder that you want to delete .lnk files from. Run this command del /s *.lnk this will delete all files with a .lnk extention from the root folder and all sub folders. Please don't forget to mark these as answers when this works for you.Justin | http://patchmypc.net
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2012 9:15am

do i use del or rm?
August 18th, 2012 9:21am

used del - rm for linux, sorry thats me being silly
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2012 9:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics