How to check if a file is an .exe in vb.net : Hi I was wondering if anyone knew how I could do something like if file.Exists("file path")then message box.show("exists") else file.delete.
Can i do something like that but to check if a file is a executable and if it is do a command and if its not do another command thanks in advance.