When you delete files on a Windows PC using the command line, the files bypass the Recycle Bin and get permanently deleted from the disk. Now I don’t have a problem with that because I’m a Shift+Delete person and I don’t use the command line very often either. But system administrators who regularly use the text interface to manage computers on a network would love to have this feature.
sike is a small executable program from FavesSoft that does that. Download the file, unzip and copy it to a folder which is currently under the system’s Environment variable path. You could either create a new path by going into Control Panel > System Properties > Advanced > Environment variables or go the easy way - simply copy sike.exe to an existing path like C:\Windows\System32 folder.
Once the sike.exe is in place, you can send any file to the Recycle Bin from the command line. Just use the command “sike” instead of “del”, like this.
You can see a delete confirmation dialog box. If you wish to remove that use the switch [-f]
sike [-f] filename1 filename2
You can also use wildcards.
Related:
6 Windows Command prompt tricks that make life easier
4 advanced command prompt alternatives for Windows
Comments
Post a Comment