anybody here,
i want to search in all drives such c:, d:, etc...
and delete all like extension name .exe files
EXCLUDING of course C:\WINDOWS and C:\PROGRAM FILES
and the rest with folders and sub folders will be searched.
tnk u
Printable View
anybody here,
i want to search in all drives such c:, d:, etc...
and delete all like extension name .exe files
EXCLUDING of course C:\WINDOWS and C:\PROGRAM FILES
and the rest with folders and sub folders will be searched.
tnk u
Just check if the path != c:\windows and c:\program files do your thing if it's equal then do nothing.
About searching you could do some google search here's a good way to start http://www.c-sharpcorner.com/UploadF...FilesinCS.aspx