I am able to call the following exe using windows command line, but using the exec() function, it doesn't work.
I have to pass a directory as an argument to that exe file.
UPDATE:
$command = '""C:\\Users\\cArn\\Documents\\Visual Studio 2010\\Projects\\word_to_pdf\\word_to_pdf\\bin\\Debug\\word_to_pdf.exe" "C:\\wamp\\www\\zabjournal\\files\\journals\\1\\articles""';
exec($command);
Still doesn't seem to work.