So why are you using chr$(34) ? And you can try with exec ... There is no need of shell for that Le 13 juil. 2012 15:53, "M. Cs." <mohar...@gmail.com> a écrit :
> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user