When I try to execute the following php code on windows, I get the error message: Bad command or file name. Why? Help me correct this problem please!
Here is the code:
$command = "pkzip $archiveName $fileList"
exec($command)
I also substituted exec with system but get same result.