[Gambas-user] Problem with gambas..

Mike Keehan Mike at ...680...
Fri Mar 27 09:43:19 CET 2009


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.





More information about the User mailing list