| 1. |
Solve : Can a batch file press enter?? |
|
Answer» I'm trying to put together a .bat for my grandma so she can do a one click c format, and slide a disc in to reinstall her os. I've never tried it before so I guess we will see if it works, but I'm stuck on GETTING the file to press enter once the command is given to I believe you may have to do a prompt followed by a series of if...else...then statements. How does this solve his problem ? ?There is a tiny prog called CR.com which places a carriage return into the keyboard buffer. You'd call it in a batch file immediately before the prog waiting for input. You could modify CR to stack any key. Alas it stopped working with Win95. but this works: echo. | date so format should work, tooHe doesn't want to format.... |
|