Difference between revisions of "Lua:shellExecute"
Jump to navigation
Jump to search
m (moved shellExecute to Lua:shellExecute) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' shellExecute(''command'') | '''function''' shellExecute(''command'') | ||
Line 4: | Line 5: | ||
Example: | Example: | ||
− | <nowiki>http://cheatengine.org</nowiki> | + | shellExecute("<nowiki>http://cheatengine.org</nowiki>") |
− | calc | + | shellExecute("calc") |
− | c:\ | + | shellExecute("c:\") |
− | regedit | + | shellExecute("regedit") |
Line 22: | Line 23: | ||
− | + | {{LuaSeeAlso}} | |
− | |||
− | |||
− | |||
− |
Latest revision as of 00:17, 25 January 2018
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[edit]
Parameter | Type | Description |
---|---|---|
command | string | The command to execute |