iT邦幫忙

0

將BAT命令寫入登錄檔

Lowoow 2020-05-08 22:46:2110636 瀏覽

有沒有高手可以將BAT的指令寫入登錄檔,並開機執行?

如果只是希望bat檔在開機後自動執行, 應該不用特別寫入到登錄檔吧? 把bat丟到啟動裡面即可
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
鬼王很慘
iT邦新手 2 級 ‧ 2020-05-09 17:26:56

目標:讓Windows開機時自動執行BAT檔

思路:撰寫BAT檔後,將其放入「啟動」資料夾

步驟:

  1. 鍵盤Windows + R
    https://ithelp.ithome.com.tw/upload/images/20200509/20126358GLdPVYZ98o.jpg

  2. 輸入shell:startup
    https://ithelp.ithome.com.tw/upload/images/20200509/20126358iCA8qqdo5Y.png

  3. 滑鼠點擊「確定」

  4. 放入BAT檔
    https://ithelp.ithome.com.tw/upload/images/20200509/20126358LiDROphs3A.png

驗證:重新開機

參考:https://support.microsoft.com/zh-tw/help/4026268/windows-10-change-startup-apps

我要發表回答

立即登入回答