Carlos Humberto Llumiquinga Hidalgo wrote: > Hi all.... > > I have a problem with a code on gambas.. > > I'm trying.. this code.. EXEC ["rm", application.Path & "/imagenes/*.*"] > ... just I wanna erase the content of images folder. > > But I got an error.. on console... rm: can't erase > «/home/carlosh/Prueba/imagenes/*.*»: File don't exists > > Help Please.. what's wrong.. ???? >
Hi Carlos, Try using SHELL instead of EXEC. The *.* expression gets expanded by the Shell not by individual programs like rm. Mike. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user