Bat Basics - 7-start

Command name: start

Command function: open a file or folder

Command format: start[drive letter:][path name][file name]

Instructions for use:

    1. "Drive letter": Specify the letter of the disk drive to create a subdirectory, if omitted, it will be the current drive.

    2. "Path name": the parent directory name of the subdirectory to be created, if omitted, it is the current directory.

Example of use:

    1.start D:\a\a.txt

        Open the a.txt file in the a folder under the D drive

    2.start D:\a\

        Open the a folder under the D drive

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326570007&siteId=291194637
bat