Reply to exec quatation problem

Your name:

Reply:


Posted by Hendri Adriaens on 03/05/07 15:13

Hi,

I try to do the following:

exec('"c:\program files\winzip\wzzip" -s123456 "d:\my path\file.zip" "d:\my
path\file.txt");

But it doesn't do anything. Looking further, the apache log tells me:

c:\program is not recognized as internal or external command, program or
batchfile.

Help!

Even weider:
exec('"c:\program files\winzip\wzzip" -s123456 d:\mypath\file.zip
d:\mypath\file.txt);

(so without the quating in the arguments) That does run.... But this way, I
cannot have spaces in the arguments, which I need...

Does anyone know a solution to be able to execute the line that I wrote
first?

Thanks, best regards,
-Hendri Adriaens.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация