1.

Solve : Reading text file in Windows 95?

Answer»

Hello,

I want to read some lines from a text file and then execute a dos command for each of the line read using BAT file in Windows 95. I COULD accomplish this in Windows XP with the "for /f" command but I can't execute this in WIN 95 as command extensions is not enabled.

So could you'll please let me know how to enable command extensions in win 95 if its possible or suggest an alternative solution for my batch file.

Thanks.I don't seem to recall any command extensions in Win95. Depending on which version you have, VBScript may not even be an option. REXX is a great scripting language, easy to learn, is open source and of course free.

Good luck. 8-)

PS. Some version of BASIC or BASICA may even be installed with Win95.Thanks for the reply...but i really can't install anything on this windows 95 desktop.

So could any one suggest how i could loop and read some lines from a text file and then execute a dos command for each of the line read using bat file in Windows 95.



Discussion

No Comment Found