ExecuteVirtualProcess
Previous  Top  Next


Function ExecuteVirtualProcess(CommandLine)

This function executes a command inside of the virtual environment. It can be used if you need to make changes to the virtual environment.

Parameters:

CommandLine  
[in] CommandLine represents the application and commandline parameters to execute outside of the virtual environment  

Returns:
Integer process ID, the process ID can be used with WaitForProcess  

Example:

ExecuteVirtualProcess("cmd.exe /c copy c:\systemfile.txt c:\virtualfile.txt")  
 
' Execute a command which requires quotes in the command-line  
ExecuteVirtualProcess("regsvr32 /s " & chr(34) & "c:\program files\my.ocx" & chr(34))  

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.