I have a folder that contains lots of files and some folder/file shortcuts. I want to deletes these shortcuts (recursively) but I don't know how coz shortcuts don't have file extension (not sure true or not). May I know what command I can use to achieve this?
I suppose the windows command should be like this:
delete /S *.fileshortcut
By the way, is there difference between a file shortcut and folder shortcut?
.lnk
extensionfor /R "C:\test" %x in ( *.lnk ) do (del /f /q %x )
. Run it as admin.