[Gambas-user] Shell not working properly in G 3.2

M. Cs. mohareve at ...626...
Fri Jul 13 15:52:29 CEST 2012


I have a BIG problem with the Shell command:

Shell "unzip -u " & Chr$(34) & User.Home & "/.GamCat/GamCat.zip" & Chr$(34)
& " -d " & Chr$(34) & User.Home & "/.GamCat/" & Chr$(34) Wait
Tells me the the following:

"unzip:  cannot find zipfile directory in one of
/home/minthaka/.GamCat/GamCat.zip or
        /home/minthaka/.GamCat/GamCat.zip.zip, and cannot find
/home/minthaka/.GamCat/GamCat.zip.ZIP, period."

However, the file User.Home & "/.GamCat/GamCat.zip" exists, and even I try
to run in a terminal the copied message

Message("unzip -u " & Chr$(34) & User.Home & "/.GamCat/GamCat.zip" &
Chr$(34) & " -d " & Chr$(34) & User.Home & "/.GamCat/" & Chr$(34))
works seamlessly.

Please help me, I've already spent hours over this issue!

The worst thing is that when I use

Shell "unzip -u /home/minthaka/.GamCat/GamCat.zip -d
/home/minthaka/.GamCat/" Wait
there are no errors at all.

Csaba



More information about the User mailing list