Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Trouble creating a script. Help?

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Trouble creating a script. Help?
  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 >>
 Trouble creating a script. Help? - 7/8/2008 2:44:32 AM   
  aricks

 

Posts: 2
Score: 0
Joined: 7/8/2008
Status: offline
I am fairly new at scripting and need to create the below script. Can anyone give me a good starting point or any tips? Thanks.

b) Install silently in a script by
 i) Running the .REG file
 ii) Copying the DLL to the local drive
 iii) Registering the DLL (regsvr32)
 
 
Post #: 1
 
 RE: Trouble creating a script. Help? - 7/8/2008 2:53:58 AM   
  ginolard


Posts: 1053
Score: 21
Joined: 8/10/2005
Status: offline
You will need to use the Shell Object (Run method) for steps 1 and 3 and the FileSystemObject (CopyFile method) for step 2.

There's plenty of information on here and on countless other sites about them.

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to aricks)
 
 
Post #: 2
 
 RE: Trouble creating a script. Help? - 7/8/2008 4:32:35 AM   
  aricks

 

Posts: 2
Score: 0
Joined: 7/8/2008
Status: offline
Do you happen to have a sample script that would do a similar action?

(in reply to ginolard)
 
 
Post #: 3
 
 RE: Trouble creating a script. Help? - 7/8/2008 6:53:26 PM   
  ginolard


Posts: 1053
Score: 21
Joined: 8/10/2005
Status: offline
http://msdn.microsoft.com/en-us/library/d5fk67ky(VS.85).aspx
http://www.devguru.com/Technologies/vbscript/QuickRef/filesystemobject_copyfile.html

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to aricks)
 
 
Post #: 4
 
 
 
  

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 >> Trouble creating a script. Help? 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