Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Import .reg & "execute" .vbs files after recursing

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,50551
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Import .reg & "execute" .vbs files after recursing
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Import .reg & "execute" .vbs files after recu... - 8/9/2007 6:11:25 PM   
  highend

 

Posts: 1
Score: 0
Joined: 8/9/2007
Status: offline
Hi!

I got this script from the forum but my coding experience is below zero so I have to ask for some help...


      

Instead of moving all the .reg & .vbs files in the subdirs of this example to DestFolder I'd like
the script to import the .reg files into registry and invoke all other .vbs files it finds during recursion.

Can anybody enhance _this_ script to do these things?

Many thanks in advance,
Highend
 
 
Post #: 1
 
 RE: Import .reg & "execute" .vbs files after ... - 8/10/2007 12:01:00 AM   
  ebgreen


Posts: 5250
Score: 31
Joined: 7/12/2005
Status: offline
Search the forum and read the WSH documentation for the WScript.Shell object and it's .Run method.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to highend)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Import .reg & "execute" .vbs files after recursing Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts