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

Need VB code to add startup entry #2
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

RE: Need VB code to add startup entry, +Rep guarantee #3
This might help http://gallery.technet.microsoft.com/scr...o-2b99b14f
This too http://reboot.pro/topic/16070-win7pe-se-...ostconfig/
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Need VB code to add startup entry, +Rep guarantee #4
This might help http://gallery.technet.microsoft.com/scr...o-2b99b14f
This too http://reboot.pro/topic/16070-win7pe-se-...ostconfig/
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Need VB code to add startup entry #5
Why not just let the script copy itself to the folder?
Don't offer rep for help, please. Read the rules.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Need VB code to add startup entry #6
Why not just let the script copy itself to the folder?
Don't offer rep for help, please. Read the rules.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Need VB code to add startup entry #7
(02-23-2014, 03:52 PM)Deque Wrote: Why not just let the script copy itself to the folder?
Don't offer rep for help, please. Read the rules.

I already said I dont know vbscript. Thought somebody here will give me a code that can be used to copy the script itself to the startup folder or add a startup entry in the registry.
Sorry for that rep offering.
Best E-Books (PDF) on Hacking for beginners... ALL for FREE DIRECT DOWNLOAD from MediaFire
DOWNLOAD

Reply







Users browsing this thread: 1 Guest(s)