windwos boot from the startup script

First, the boot script written to be performed as a .vbs extension

 

 

E.g:

set ws=WScript.CreateObject("WScript.Shell")

ws.Run "C:\ftp_files\new.bat  /start",0

 

Create a new text document and copy the above code save suffix .vbs C: \ ftp_files \ new.ba need script execution

 

Under windwos7   

 

Start - -> Start ---> Right ---> Open

 

Into Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ Startup folder

 

 

Then just written .vbs put into this folder will boot from the start of the

 

Guess you like

Origin www.cnblogs.com/ChenChangXiong/p/11090891.html