@woshichuanqilz
2015-11-01T08:54:27.000000Z
字数 617
阅读 1685
LittleSkill
Add the reg file 'Autorun.reg' in the registery. And the dos window will start with the command in the file you just specify in the autorun.bat
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"Autorun"="\"d:\\Program Files\\ALTRun\\PCConfiguration\\autorun.bat\""
this is my autorun.bat file which rename clear, python and DOSKEY /HISTORY command,
you'd better use the cls command which means clear the dos window to make the dos window clear , if not the command in the autorun.bat will leave on the dos window
DOSKEY clear=CLS
DOSKEY py=python
DOSKEY his=DOSKEY /HISTORY
cls
Tnx for reading. : )