Sign in to follow this  
Followers 0
solid2005

Hidden

7 posts in this topic

How Can i delete The Hidden files?

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

(FileDelete) This code Could not delete the Files that have hidden like a virus hidden

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

OK ! This Is My Problem

Posted Image

I use only Filedelete ("path")

but not work im only use the basic one

Edited by solid2005

Share this post


Link to post
Share on other sites

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)

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thanks Jos Its Work Now.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0