Objectives:
- Create a skeleton file with all config info on it skeleton.txt
- Get all file names of the iso file type in the current directory store them in a text file currentiso.txt
- Create a text file with iso's that are supported in this thread viewtopic.php?f=2&t=252 supportediso.txt
- Create a seperate config texts for each supported iso Example ubuntu10.1.iso.txt
- If there is a match then add the text from the corresponding ISO.txt to the skeleton.txt and keep adding all matches till finished
- Save skeleton.txt as extra.cfg
- Then Exit Gracefully with everything automated
Now if coding were as easy as english I would be done! lol!
If anyone has any suggestions to make this easier go right ahead....
I wonder if I could make 3 arrays lets say currentiso and supportediso and equaliso
Then I could check each supportediso array each string keeping it static and compare with currentiso array if they are equal I could add them to equal iso array.
Once equaliso array is built then I could load each string from equal iso + iso.txt and add the information from this file to skeleton.txt then save it.
It may be easier to use mysql or MS SQL to do this???
I need some suggestions here on the easiest way to accomplish what I would like to do here or what is possible in C#
Please do help me get started down some preferred path and give me some good reasons why to follow that path.
Thanks -infringer-
STATUS OF SARDUX objectives now started