|
|
|
|
ceCreateShortcut (Function) In french: ceCréeRaccourci Creates a shortcut on the Mobile Device (Pocket PC) connected to the current computer. Remark: ceCreateShortcut can be used only if a connection is established between the current computer and the Mobile device ( ceConnect). Remark: this function is available in 64-bit mode.
// Create a shortcut in the "Program" menu ceCreateShortcut("Example of shortcut", """\Program Files\MyExe.exe""")
// Create a shortcut in the "Temp" directory ceCreateShortcut("\Temp\Example of shortcut.lnk", "\MyDirectory\MyExe.exe")
Syntax
ceCreateShortcut(<Shortcut> , <Command line>)
<Shortcut>: Character string (with quotes) - Name of the shortcut in the following format: "<Shortcut name>". In this case, the shortcut is created in the "Program" menu.
- Name and path of the shortcut in the following format: "\<Shortcut directories\Shortcut name>.<Shortcut extension>".
<Command line>: Character string (with quotes) Full command line associated with the shortcut. This command line will be run when a double click is performed on the link. The paths of the files containing space characters must be enclosed in quotes. For example: ""\My directory\File.exe"" Remarks ceCreateShortcut returns no error code. To find out if this function has generated an error, use ErrorInfo with the errMessage constant.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|