To delete a directory that is not empty under Windows:<br>rmdir /s /q directoryName<br><br>80n<br><br><div class="gmail_quote">On Nov 26, 2007 12:49 PM, Tino Miegel <<a href="mailto:tino.miegel@googlemail.com">tino.miegel@googlemail.com
</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2007/11/26, Dirk-Lüder Kreie <<a href="mailto:osm-list@deelkar.net">osm-list@deelkar.net
</a>>:<br><div class="Ih2E3d"><br>> Can you retry with current from svn? I added an explicit "OPEN => 0" to<br>> the tempfile() call, to prevent auto-opening of the file, which might<br>> have prevented proper deletion on windows, while on linux it seems it
<br>> was not auto-opened due to the "undef" in the call.<br>><br><br></div>Doesn't work with svn revision 5757:<br><br>G:\tilesAtHome>perl tilesGen.pl loop<br>- Using working directory g:\temp\<br>
- Inkscape version 0.45.1<br>- xmlstarlet version 1.0.1<br>- zip is present<br>- pngcrush version 1.6.4<br>- Uploading with username "Tino"<br>- Deleting ZIP files after upload<br>- Configured Layer: default<br>
- Configured Layer: maplint<br>This is version 5757 (Newcastle) of tilesgen running on MSWin32<br>[#1   0% jobinit] Doing tileset 911,1542 (zoom 12) (area around 40.547192,-99.88<br>7695)<br>[#1   0% Preproc] Downloading: Map data for default,maplint to g:\temp\data-1156
<br>[#1   0% Preproc] Checking for UTF-8 errors in g:\temp\data-1156.osm...<br>[#1   0% default] Splitting G:\temp\1156\1156_part-89INvL.png (1 x 1)... cannot<br>remove TempDir g:\temp\1156/ at tilesGen.pl line 1218.<br><br>
G:\tilesAtHome><br><br>It seems it wants to delete the temp-subdir "1156", but there is still<br>a png in there...<br><font color="#888888"><br>Tino<br></font><div><div></div><div class="Wj3C7c">_______________________________________________
<br>Tilesathome mailing list<br><a href="mailto:Tilesathome@openstreetmap.org">Tilesathome@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
</a><br></div></div></blockquote></div><br>