Jump to content

problem with system() command


electronish

Recommended Posts



Hi ..  i am trying to execute a .exe file but cannot .. whats the problem .

if  I put what is inside the $cmd in the command prompt then it works . So  I have no problem with the command line . How do  i modify it to work with PhP ? ? 

[code]

$cmd = 'Desktop\vdub\vdub.exe /s"C:\Documents and Settings\John cena\Desktop\vdub\vDub3.vcf" /p"C:\Documents and Settings\Nishchay shah\Desktop\vdub\test.Avi","C:\Documents and Settings\John cena\Desktop\vdub\test3.avi" /r';

system('$cmd');



[/code]
Link to comment
https://forums.phpfreaks.com/topic/32951-problem-with-system-command/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.