Forum: Poser Python Scripting


Subject: Python script that will remove a folder structure within Runtime...?

DarkEdge opened this issue on Jun 18, 2009 · 7 posts


markschum posted Thu, 18 June 2009 at 10:31 PM

Yes it is possible using python. If you can specify exactly what gets deleted.  

The python command is a combination of walk , which lists a directory tree but you have to do deletes from the bottom up if you are deleting folders too. Its also not something you can get wrong , a mistake is very very bad .

If its just files though you can also do that from the cmd prompt using the old commands like dir  and kill.