封装系统.用安装管理器.添加批处理命令.比如添加这道命令
@echo off
echo Windows Registry Editor Version 5.00 >>tmp.txt
echo [HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\从这里进入DOS] >>tmp.txt
echo [HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\从这里进入DOS\command] >>tmp.txt
echo @="C:\\WINDOWS\\system32\\cmd.exe" >>tmp.txt
rename tmp.txt tmp.reg
start /wait regedit /s tmp.reg
del /q tmp.reg
exit
但安装管理器.命令添加时不能回车.不知如何添加命令呢?
@echo off
echo Windows Registry Editor Version 5.00 >>tmp.txt
echo [HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\从这里进入DOS] >>tmp.txt
echo [HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\从这里进入DOS\command] >>tmp.txt
echo @="C:\\WINDOWS\\system32\\cmd.exe" >>tmp.txt
rename tmp.txt tmp.reg
start /wait regedit /s tmp.reg
del /q tmp.reg
exit
但安装管理器.命令添加时不能回车.不知如何添加命令呢?
