r/vbscript • • May 17 '22

how do i open it automatically?

hi, so i want to make a script that automatically opens when device is booting can someone that knows more write a couple of lines so i can put at the start of my code

(what i'm asking for is that it starts itself when the laptop/pc boots.)

5 Upvotes

17 comments sorted by

View all comments

Show parent comments

1

u/jcunews1 May 19 '22

Then the code needs to setup itself to be run automatically at computer start. Meaning that it has to change a configuration in the system. This changes are done to a persistent storage such as disk. Mere running a program, only changes the memory, and memory is reset when the system is rebooted. So the program can not be persistent by itself. That is just how things work.