批处理(用记事本打开一个文件)

时间:2026-02-12 05:15:26

1、新建记事本,添加内容

2、@echo off

echo  ------打开 config.ini------

if exist "%systemroot%\SysWOW64" goto  x64 

goto x86

:x86

start "" notepad "C:\Program Files\xxx\config.ini"

:x64

start "" notepad "C:\Program Files (x86)\xxx\config.ini"

exit

3、保存,修改后缀为.bat

© 2026 一点资料
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com