script to wipe file and folder

Discuss and share scripts and script files...
swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: script to wipe file and folder

Post by swan_x »

Not work! When run, I have a little window with 2 line of the script...

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: script to wipe file and folder

Post by highend »

Ofc it works. Indent the lines!
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: script to wipe file and folder

Post by swan_x »

$folder = "<C:/aaa>"; wipe listfolder($folder);

right? If you mean that, it does not work!

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: script to wipe file and folder

Post by swan_x »

It takes little to write the correct script...

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: script to wipe file and folder

Post by PeterH »

1) you know what indentation is? (Though your "solution" helps for this.)
2) You might try to not use < and >

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: script to wipe file and folder

Post by highend »

<C:/aaa>
Since when do OS'es use <> around real paths?
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: script to wipe file and folder

Post by swan_x »

Ok now work! Thanks

Post Reply