Thread: Run an EXE
View Single Post
  #1 (permalink)  
Old Dec 29th, 2007, 22:01
alexgeek's Avatar
alexgeek alexgeek is offline
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,790
Blog Entries: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Run an EXE

How can I run an exe via a PHP script?
I tried something like this just to run notepad:
PHP: Select all

exec('notepad.exe'$o$r); 

But I don't think that is the right way.
Could someone explain how I can run an executable file by giving the path to it?
Reply With Quote