Jump to content
Sign in to follow this  
Slash

Delete folder?

Recommended Posts

Hi guys what is the code for deleting folder?

i have test this:

If $nMsg = $Button4 Then

_RunDOS("rmdir \Cache\WDB")

but this code not works

Share this post


Link to post
Share on other sites

Hi,

when is use this

DirRemove ( "path" [, recurse] )

than comes a syntax error

C:\Dokumente und Einstellungen\Slash\Desktop\launcher\Source\Launcher.au3(82,22) : ERROR: syntax error

DirRemove ( "\Cache\WDB" [

~~~~~~~~~~~~~~~~~~~^

C:\Dokumente und Einstellungen\Slash\Desktop\launcher\Source\Launcher.au3 - 1 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites

Now i use this

DirRemove ( "Cache\WDB" [, 1] )

but this dos not works to^^

can you give me the complete code? the code must delete this folder Cache\WDB

Share this post


Link to post
Share on other sites

Could you please do me a favor and read the whole page you find in the helpfile, also the example ?


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×
×
  • Create New...