durex Posted March 9, 2005 Share Posted March 9, 2005 Been looking around and havent been able to find much about what Im hoping to do. I want to create a vbscript which will read in particular values from a 'config file'. This config file will have something similar to the following:ProgName="prog.exe"ProgPath="c:\temp"ProgDesc="this is a prog"and then repeated for multiple programs. is this something i can accomplish with vbscript? Thanks! Link to comment Share on other sites More sharing options...
jdoe Posted March 9, 2005 Share Posted March 9, 2005 Search Google with these two words. You're gonna get what you wantVBScript FileSystemObject Link to comment Share on other sites More sharing options...
Martin Zugec Posted March 9, 2005 Share Posted March 9, 2005 But be carefull, FileSystemObject is quite "vulnerable" object and is many times corrupted! That is why I am usually switching to other scripting methods when I want to work with FS and I need to be sure everything will be allright Link to comment Share on other sites More sharing options...
gunsmokingman Posted March 9, 2005 Share Posted March 9, 2005 Working with Files - msdn.microsoft.comThis Might Help You Link to comment Share on other sites More sharing options...
IcemanND Posted March 9, 2005 Share Posted March 9, 2005 try this install.vbs, it's old but it worked. Link to comment Share on other sites More sharing options...
durex Posted March 9, 2005 Author Share Posted March 9, 2005 @icemanthanks a ton.. thats exactly along the lines of what Im looking for... I actually plan on using this for launching programs, not installing, so I'll be tweaking it a bit. You mind if I hit you up with some questions if I run into issues?Thanks again! Link to comment Share on other sites More sharing options...
IcemanND Posted March 9, 2005 Share Posted March 9, 2005 I'll have to dust some cobwebs off of the grey matter, since I wrote more than a year ago, but I'll help if I can. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now