forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Windows startup registry key...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Aug 02, 2002 10:07 pm    Post subject: Windows startup registry key... Reply with quote

What is the registry key to launch an application at startup? I'm pretty sure that you would use the following VDS code to write/delete a startup registry key:

Code:

rem write
registry write,local,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,<<yourprogramname>>,%0

rem delete
registry delete,local,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,,<<yourprogramname>>


Is this it?
Thanks... Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Fri Aug 02, 2002 10:31 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Fri Aug 02, 2002 10:13 pm    Post subject: Reply with quote

Yes, that's what I did for my forum check-up program. If using this with the "local"
rootkey as you did this will apply for all users, if you want it only to apply to the
current user you should use "curuser".

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Aug 02, 2002 10:19 pm    Post subject: Reply with quote

Thanks... Very Happy

I didn't know the difference about local and curuser.

Thanks!

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group