This is like this. I want to use DOS to clean up a certain file throughout the disk.
That is, I haven't figured out how to achieve quickly searching for this file throughout the disk, for example: autorun.inf
I all clean up like this,
del /f /q c:\autorun.inf
del /f /q d:\autorun.inf
del /f /q e:\autorun.inf
......
This is very rigid and not flexible. What if this file is not in the root directory of c, d, e...?
I have thought about it for a long time and haven't figured it out. I have repeatedly read DOS books and haven't found what I want.
Please help the expert to solve this problem. Then I can make the BAT for cleaning the file I want. I will write it and share it with you guys~~!
That is, I haven't figured out how to achieve quickly searching for this file throughout the disk, for example: autorun.inf
I all clean up like this,
del /f /q c:\autorun.inf
del /f /q d:\autorun.inf
del /f /q e:\autorun.inf
......
This is very rigid and not flexible. What if this file is not in the root directory of c, d, e...?
I have thought about it for a long time and haven't figured it out. I have repeatedly read DOS books and haven't found what I want.
Please help the expert to solve this problem. Then I can make the BAT for cleaning the file I want. I will write it and share it with you guys~~!


