Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Need VB code to add startup entry filter_list
Author
Message
Need VB code to add startup entry #1
Hello [username],
I dont know vbscript. I have a vbscript with me which runs my batch program hidden. I want this vbscript to add itself to the windows startup so that it will run each time windows starts. I added it to startup manually by copying the vbscript to startup folder (in windows xp). But I want this to be done automatically once the script is executed. It would be great if it worked for both windows xp and windows 7.


This is the script I already have to run my program hidden(without gui):

Code:
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\start.bat" & Chr(34), 0
Set WinScriptHost = Nothing

Help me please...
Thanks...
Best E-Books (PDF) on Hacking for beginners... ALL for FREE DIRECT DOWNLOAD from MediaFire
DOWNLOAD

Reply





Messages In This Thread
Need VB code to add startup entry - by commander - 02-23-2014, 08:21 AM
Need VB code to add startup entry - by commander - 02-23-2014, 08:21 AM



Users browsing this thread: 1 Guest(s)