[Gambas-user] Problem with gambas..

Rolf Schmidt rolf.frogs at ...221...
Fri Mar 27 16:03:29 CET 2009


Hi Carlos

> 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

The exex comand runs without a shell and so there is no envrionment and "rm" 
will not be found in the local directory.

Either you use rm with a full path or use the shell command.

HTH
Rolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090327/f803a46f/attachment.sig>


More information about the User mailing list