- echo %cd%
- c:\dir
- @echo off
- echo this is %%cd%% %cd%
- echo this is %%~dp0 %~dp0
- C:\>D:\dirshow.bat
- this is %cd% C:\
- this is %~dp0 D:\
DOS批处理中%cd%和%~dp0的区别 在DOS的批处理中,有时候需要知道当前的路径。在DOS中,
Dos批处理
本文简要写了DOS的一些基本使用
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M