text = "cd ~/.relat_bact && rm -rf Modelo*.odt && zip -r " & "MA" & 
Mid$(ListBox1.Text, 1, 9) & ".odt  ."
  Shell text Wait

1 - navigating to ~/.relat_bact directory and deleting the odt file is working 
fine.

2 - generating the "zipped" odt file (MAxxxx.odt) using the files and 
directories inside ~/.relat_bact is not working. The error message is: "zip I/O 
error: No such file or directory
zip error: Could not create output file (MA000004/12.odt)"

3 - If I type these commands directly on a terminal it works fine.

My system information: 
[System]
OperatingSystem=Linux
Kernel=3.5.0-25-generic
Architecture=i686
Memory=1025808 kB
DistributionVendor=Ubuntu
DistributionRelease="Ubuntu 12.10"
Desktop=Gnome

[Gambas 3]
Version=3.3.3
Path=/usr/local/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.8.3
GTK+=libgtk-x11-2.0.so.0.2400.13

Thanks in advance
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to