The drive must be assigned a capital letter. Under Windows, the letter that you assign the drive is restricted by the settings in LASTDRV. If the drive argument is a multiple-character string, only the first letter is relevant. If you attempt to access a non-existent drive, an error occurs that you can respond to with the OnError statement.
驱动器号必须使用大写字母。在 Windows 环境下，为驱动器指定的字母受 LASTDRV 设置的限制。如果驱动器变量是一个多字符字符串，则只会采用第一个字母。如果您尝试访问一个不存在的驱动器，将发生错误，通过 OnError 语句可以对这个错误做出响应。