TDMIS Posted September 9, 2007 Share Posted September 9, 2007 What command would i use to delete a ".exe". I tried filedelete and nothing. My path is correct to the EXE. Link to comment Share on other sites More sharing options...
Didonet Posted September 9, 2007 Share Posted September 9, 2007 Do you have the permissions to delete? Link to comment Share on other sites More sharing options...
TDMIS Posted September 9, 2007 Author Share Posted September 9, 2007 Yes i have full administrator rights Link to comment Share on other sites More sharing options...
Didonet Posted September 9, 2007 Share Posted September 9, 2007 (edited) FileDelete("D:\dir\*.exe") ...tested! Did u get some errors or something...? Edited September 9, 2007 by Didonet Link to comment Share on other sites More sharing options...
TDMIS Posted September 9, 2007 Author Share Posted September 9, 2007 Nope no error when i ran the script !!! Link to comment Share on other sites More sharing options...
Didonet Posted September 9, 2007 Share Posted September 9, 2007 Nope no error when i ran the script !!!Can u show the script? Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted September 9, 2007 Share Posted September 9, 2007 - When the file is in use .. it cannot be delete - futher if the file is readonly it cannot be delete You can check the process state with WinGetProcess You can change the readonly state with FileSetAttrib Emiel Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now