its part of my flash project .unfortunately flash is so week for working with windows so i should do the rest with batch programing !
i used lots of batches and 80% of the job has done so i prefer to do the rest in this way
Now I am totally confused. You want to flash the BIOS?
No, you want to write a system utility using Adobe Flash. Huh?
The natural choice for a Flash app is to extend it with Java. But C# would also work. Even current versions of Visual Basic control FLASH thing.
I have never hears of DOS batch used as a supplement, extension or replacement for Flash.
But there is a lot I don't know. Are you writing a Windows app or a browser app? Browser apps often use JavaScript, vb-scrip, ActiveX or even Java at the client side.
The DOS batch stuff is essentially twenty years old. With a few improvements in recent years. IMHO it is not well suited for browser apps. It is suited for doing backups and archives and removing dead files. Not so good for doing anything visual.
Only 80% of your code works? Did you model the code? You need to get up to 99 % of your code working before working on kinks.
Have you verified the logic and sequence of your code?
A practice of professional programmers is to write a large part of the code in the best programming tool that they can use. Then fill in the tough spots with things imported from other software tools.
I am unable to visualize this with FLASH and DOS batch.
Sorry I can not help you with your quest. But keep at it and eventually you will find a solution. It is not really impossible.
Have you ever read books on structured programming? Or books about program design and incremental refinement ?
Books on structured programming with C#