Thank you, PureBasic!
Thank you, PureBasic!
There was a folder I couldn't delete in Windows Vista through Explorer or REM at the command prompt. DeleteDirectory() worked perfectly! 
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
-
SoulReaper
- Enthusiast

- Posts: 372
- Joined: Sun Apr 03, 2005 2:14 am
- Location: England
- Michael Vogel
- Addict

- Posts: 2824
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Thank you, PureBasic!
Maybe just explorer blocking it.Mistrel wrote:There was a folder I couldn't delete in Windows Vista through Explorer or REM at the command prompt. DeleteDirectory() worked perfectly!
"rem" doesn't delete anything, it's not short for "remove"
Code: Select all
C:\>rem /?
Records comments (remarks) in a batch file or CONFIG.SYS.
REM [comment]
Code: Select all
C:\>rd /?
Removes (deletes) a directory.
RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path
/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.
/Q Quiet mode, do not ask if ok to remove a directory tree with /S
C:\>
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein