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

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to