顯示具有 DOS 標籤的文章。 顯示所有文章
顯示具有 DOS 標籤的文章。 顯示所有文章

星期四, 3月 12, 2009

如何讓光碟Autorun

autorun.ini
[autorun]
OPEN=xxxx.exe
ICON=yyyy.ico //光碟畫面的icon



如果是跑xxx.hta等,非win32應用程式
功能就像寫在.bat裡
[autorun]
shellexecute=Setup.hta

星期二, 8月 19, 2008

Dos的Shell操作

利用bat執行exe時,如何關閉dos視窗等操作
@echo off //不列出執行過程
cd test\ //移到該執行檔的資料夾
START test //執行test.exe, exe不用寫了,Start指啟動新程序,所以此視窗就可關了
exit //關閉此dos視窗