thnx for the replys, yes the Ctrl-z does work for me, thnx. Only one small problem tho, it counts the ^Z aswell as a character, oh well i s'pose there is probably a more efficient way to make this program. i can't think of what tho.

Btw im a reall n00b with command lines, i have windows so is it DOS command prompt? is it also with DEV compiler under: tools/DOS shell? I tried the DOS shell then typing the path of the exe without the .exe extension but it didnt seem to work.

anway i kno with some programs it has command line under properties of the file but my exe doesnt. Can someone give me some instructions on how to find and use my command line plz, thnx. my msn is daryl4321(at)msn.com if anybody would be kind enough to help via msn. take away the (at) bit and replace it with @. wow thnx for responding so quick after my post. It must've been only seconds after making this thread, well not quite seconds but not longer than 15 minutes ;-).