2008年12月24日 星期三

編輯bat檔發生警告訊息"檔案名稱,目錄名稱或磁碟區標籤語法錯誤"

當在Windows Batch檔(MS-DOS Batch檔)按右鍵選擇編輯時出現警告訊息,
windows can not find this file, make sure you typed the name correctly and then try again
檔案名稱,目錄名稱或磁碟區標籤語法錯誤,

表示Windows無法關聯.bat附檔名的編輯程式,




































解決方法:
1 .Open My Computer
2 .Click TOOLS
3. Folder Options (XP)
4. Click File Types Tab
















1. Click New
2. Type in .BAT as the extension
3. Click The Advanced TAB
4. The default Associated File Type should now be MS-DOS BATCH FILE, if not use to drop down box and select it.
5. Click OK

























1. Click on that BATCH Extension
2. Click the ADVANCED Button.
3. Under ACTIONS, Click Edit.
4. Application used to perform action:
should be:
"C:\WINDOWS\System32\NOTEPAD.EXE %1"
Without the quotation marks
5. Make sure USE DDE is checked
For application "NOTEPAD"
For Topic "SYSTEM"
6. Click OK
7. OK Again
8. Close

沒有留言: