VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@DRIVE

Windows Linux macOS

[VDS7]

Syntax

@DRIVE(ERROR)

Description

Returns the error message from the last DRIVE command or @NEW(drive,...) call, or an empty string if it succeeded. Use it to report why a mount or unmount failed (see Network drives).

OK

Unchanged.

Example

%D = @new(drive,\\server\backups,backup_user,secret)
if @ok()
  info Mounted as %D
  drive unmount,%D
else
  warn Could not mount: @drive(error)
end

See also