Natty
Natty

Reputation: 3

How Can I make a very simple vbs code run on startup

This is the code

Dim voice 
Set voice = Wscript.CreateObject("SAPI.spVoice") 
voice.speak "The FBI is watching you!" 
Wscript.Quit 

It is for a prank on my cousin.

Upvotes: 1

Views: 3846

Answers (1)

ArifMustafa
ArifMustafa

Reputation: 4935

In Windows:

go to run command, there you type the command shell:startup, press enter it will show you your startup folder and for me my startup folder is:

C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Upvotes: 3

Related Questions