durex Posted March 9, 2005 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!
jdoe Posted March 9, 2005 Posted March 9, 2005 Search Google with these two words. You're gonna get what you wantVBScript FileSystemObject
Martin Zugec Posted March 9, 2005 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
gunsmokingman Posted March 9, 2005 Posted March 9, 2005 Working with Files - msdn.microsoft.comThis Might Help You
durex Posted March 9, 2005 Author 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!
IcemanND Posted March 9, 2005 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.
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