Resume batch script after computer restart

前端 未结 4 904
迷失自我
迷失自我 2021-01-01 07:21

I have a bunch of old machines running Windows 2000 Pro and IE 5.0 which I want to upgrade to IE 6 with Silverlight. I downloaded the IE6 and Silverlight installers from Mi

4条回答
  •  情深已故
    2021-01-01 08:01

    You could put the second command in a exclusive batch file, and add an entry to regedit to execute this batch file automatically upon Windows' start, making silverlight be executed after the computer restarts.

    Have you heard of msconfig? On some systems the regedit PATH you are looking for is:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    

    But you may want to check that. If you want to make a batch file to write that key on the registry, you probably should take a look at this tutorial.

提交回复
热议问题