Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

批处理相关 #155

Open
jeffsui opened this issue Nov 16, 2021 · 0 comments
Open

批处理相关 #155

jeffsui opened this issue Nov 16, 2021 · 0 comments
Labels

Comments

@jeffsui
Copy link
Owner

jeffsui commented Nov 16, 2021

获取当前路径

@echo off
echo 当前盘符:%~d0
echo 当前盘符和路径:%~dp0

处理中文文件/夹

中文乱码问题.找一个文本编辑工具(notepad++),设置批处理文件字符编码为ANSI,再次执行

如何一个指令切换目录(win)

cd /d d:/tools
@jeffsui jeffsui added the bat label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant