Difference between revisions of "Lua:shellExecute"

From Cheat Engine
Jump to navigation Jump to search
Line 4: Line 4:
  
 
Example:
 
Example:
   <nowiki>http://cheatengine.org</nowiki>
+
   shellExecute("<nowiki>http://cheatengine.org</nowiki>")
   calc
+
   shellExecute("calc")
   c:\
+
   shellExecute("c:\")
   regedit
+
   shellExecute("regedit")
  
  

Revision as of 11:37, 4 March 2012

function shellExecute(command)

Executes a specific commandline command. The commands are the same you can type in the "run..." command and in the file header of an explorer window.

Example:

 shellExecute("http://cheatengine.org")
 shellExecute("calc")
 shellExecute("c:\")
 shellExecute("regedit")


Function Parameters

Parameter Type Description
command string The command to execute


See also