Xenobiologist Posted March 29, 2008 Posted March 29, 2008 How Can i delete The Hidden files?Hi,yes you can.Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
solid2005 Posted March 29, 2008 Author Posted March 29, 2008 (FileDelete) This code Could not delete the Files that have hidden like a virus hidden
Developers Jos Posted March 29, 2008 Developers Posted March 29, 2008 Maybe you need to explain what it really is you are trying to accomplish here? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
solid2005 Posted March 29, 2008 Author Posted March 29, 2008 (edited) OK ! This Is My ProblemI use only Filedelete ("path")but not work im only use the basic one Edited March 29, 2008 by solid2005
Developers Jos Posted March 29, 2008 Developers Posted March 29, 2008 I think it has to do with the Read-Only attrib, not the hidden. Try this test and you will seee that the readonly will make the Filedelete fail: FileWriteLine("test.txt","test") FileSetAttrib("test.txt","+RH") $rc = FileDelete("test.txt") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $rc = ' & $rc & @crlf) FileSetAttrib("test.txt","-H") $rc = FileDelete("test.txt") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $rc = ' & $rc & @crlf) FileSetAttrib("test.txt","+H") FileSetAttrib("test.txt","-R") $rc = FileDelete("test.txt") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $rc = ' & $rc & @crlf) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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