How to remove a directory? - LUA Scripting - CHDK Forum

How to remove a directory?

  • 1 Replies
  • 1929 Views
How to remove a directory?
« on: 06 / August / 2015, 08:26:14 »
Advertisements
I tried os.remove(). But it didn't work. What's the command for removing a directory?

Thanks

*

Offline reyalp

  • ******
  • 14125
Re: How to remove a directory?
« Reply #1 on: 06 / August / 2015, 15:36:52 »
You need to empty the directory before you remove it.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal