批处理(用记事本打开一个文件)
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
阅读量:173
阅读量:189
阅读量:30
阅读量:111
阅读量:146