我在该目录中创建了一个 bat 文件(notes.bat)
用记事本打开它,写下以下几行。每一行后面都有一条注释,不应该添加到 bat 文件中。
@echo off
prompt $S$CYourNamel$F$S$G$S
/* This is a comment, do not include it in the bat file - above line will make the prompt look like (YourName) > */
cd C:\Your_favorite_directory
/* This is a comment, do not include it in the bat file - above line will navigate you to your desired directory */