![]() |
|
[Shell] I would like to make a file name search that will delete all the files under that na - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] I would like to make a file name search that will delete all the files under that na (/showthread.php?tid=5254817) |
I would like to make a file name search that will delete all the files under that na - missNasser - Apr 30, 2016 I would like to make a file name search that will delete all the files under that name. I would like it to say in it what files would you like to search to day and i type in an example eminem and it will have a list saying found 320 files with file name eminem and it to list the file types eg 20 .img files name eminem 300 .mp3 files with the name eminem and then an option saying would you like to delete these files. another idea would a choice of where to search an example a memory stick and you can use this to search and delete all files. this was just and idea and i thourght it would be very useful i have found some code that will search for files. i would like a nice into saying what would you like to search for and let you type in what you would like to search and it searches it and you will get a choice to delete them i would just find this very useful. here is some of the code i have already @echo off DIR /s c:\eminem - superman.mp3 and to delete it the code would be del /p /s c:\minecraft.exe but my idea to this is make a file search deletion tool using batch. * - DataBuster - Jan 20, 2017 I'd make it search in the '%USERPROFILE%\Music\' folder. |