#139544 - 2005-05-1309:14 AMRe: Need a jump start...
NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11634
Loc: Space
Thanks to Richard H. for a better solution to the loop then I originally had.
Okay here is a version that should get you started. It will gather a list of all the .INI files in a given folder and then present them on screen for the user to make a choice.
This current code was tested using a folder named C:\CONTROL Which had 14 .INI files in the folder.
Which configuraton file do you want to use? 1. AdminSetup 2. Baltimore 3. Chicago 4. Dallas 5. Glendale 6. HongKong 7. Hotel 8. Leatherhead 9. London 10. LosAngeles 11. Montreal 12. Paris 13. Tokyo 14. WorkShop
Enter a number between 1 and 14, or '99' to quit: 8 You chose the configuration file Leatherhead
Please let us know if this script works okay for you or if you were wanting something else.