Show / Hide Table of Contents

Class ROptions

More parameters for run.it.

public class ROptions
Remarks

Implicit conversion from string sets ROptions.CurrentDirectory.


Namespace: Au.Types
Assembly: Au.dll
Inheritance
object
ROptions

Fields

Name Description
CurrentDirectory

Initial current directory for the new process. If null (default), the new process will inherit the current directory of this process. If "", the function gets parent directory path from the file parameter, if possible (if full path is specified or found). If not possible, same as null.

note

Some programs look for their files in current directory and fail to start if it is not the program's directory.

FlagsAdd

Flags to add to SHELLEXECUTEINFO field fMask. Default flags: SEE_MASK_NOZONECHECKS, SEE_MASK_NOASYNC, SEE_MASK_NOCLOSEPROCESS, SEE_MASK_CONNECTNETDRV, SEE_MASK_UNICODE, SEE_MASK_FLAG_NO_UI (if no flag ShowErrorUI), SEE_MASK_NO_CONSOLE (if no flag WaitForExit), SEE_MASK_FLAG_LOG_USAGE (if flag MostUsed); also SEE_MASK_INVOKEIDLIST if need.

FlagsRemove

Flags to remove from SHELLEXECUTEINFO field fMask. Default flags: see ROptions.FlagsAdd.

OwnerWindow

Owner window for error message boxes. Also, new window should be opened on the same screen. However many programs ignore it.

Verb

File's right-click menu command, also known as verb. For example "edit", "print", "properties". The default verb is bold in the menu. Not all menu items will work. Some may have different name than in the menu.

WindowState

Preferred window state. Many programs ignore it.

Operators

Name Description
implicit operator ROptions(string)

Sets ROptions.CurrentDirectory.