note 104170 added to function.exec
| From: | Mike at osu1 dot php dot net | Date: | Sun, 29 May 2011 14:57:44 +0000 |
| Subject: | note 104170 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180085@lists.php.net to get a copy of this message | ||
The following VBScript code opens a copy of the currently running script with Notepad.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%windir%\notepad " & WScript.ScriptFullName
The following VBScript code does the same thing, except it specifies the window type, waits for
Notepad to be shut down by the user, and saves the error code returned from Notepad when it is shut
down.
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("notepad " & WScript.ScriptFullName, 1, true)
-------------------------------------------
Referenced from http://www.bestessayhelp.com
----
Server IP: 69.147.83.197
Probable Submitter: 184.171.165.68
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/104170
Del: integrated -- https://master.php.net/note/delete/104170/integrated
Del: useless -- https://master.php.net/note/delete/104170/useless
Del: bad code -- https://master.php.net/note/delete/104170/bad+code
Del: spam -- https://master.php.net/note/delete/104170/spam
Del: non-english -- https://master.php.net/note/delete/104170/non-english
Del: in docs -- https://master.php.net/note/delete/104170/in+docs
Del: other reasons-- https://master.php.net/note/delete/104170
Reject -- https://master.php.net/note/reject/104170
Search -- https://master.php.net/manage/user-notes.php