VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

LINK

Windows Linux macOS

Syntax

LINK CREATE, <filename>, <link path>, <link name> , <icon path> , <start directory> <arguments>

Description

The LINK CREATE command is used to create a shortcut to a program or file.

The <filename> is the name of the program or file that the shortcut will be a link to. This file must exist at the time the shortcut is created.

The <link path> is the directory or folder in which the shortcut is to be created. The Windows desktop can usually be found at the path @WINDIR(Desktop). The Start menu is usually found at the path @WINDIR(Start Menu).

The <link name> is the name of the shortcut. If the command is successful, the shortcut will be created with the path <link path><link name>.lnk.

The <icon path> is optional. If present it gives the location of the icon that will be used for the shortcut.

The <start directory> is optional. If present it gives the starting directory that will be used.

The <arguments> parameter is optional. If present, it specifies arguments for the command line of program <filename>. If commas are included in <arguments> then they should be enclosed in quotes.

OK

Set to false if the command fails.

Example

rem create a shortcut on the desktop
LINK CREATE,c:\readme.txt,@windir(),Shortcut to readme.txt
if @ok()
  info Link created successfully
end

See also