Computing.Net > Forums > Programming > Reading ini contents into batch fil

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Reading ini contents into batch fil

Reply to Message Icon

Name: smcgillivray
Date: December 12, 2008 at 20:05:25 Pacific
OS: Windows XP
CPU/Ram: P4 2 gb
Product: Dell latitude / D610
Comment:

Hi,
I have been tasked with writing a batch file to stop a virtual server, xopy contents, start virtual server, rar files, remove temp folder and old files. I have the program completed with the exception of the ini part.

I was curious the best way to read a file.ini file which contains information like
daycount=3
filedir=c:\backups
path=c:\virtual machines\xp
vmstop=call vmware-cmd "c:\virtual machines\xp\xp.vmx" stop



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Reading ini contents into batch fil

read file content using batch loop www.computing.net/answers/programming/read-file-content-using-batch-loop/17010.html

batch script reading file content www.computing.net/answers/programming/batch-script-reading-file-content/17385.html

VBS - How to read file contents www.computing.net/answers/programming/vbs-how-to-read-file-contents/14629.html