.BAT File Question
-
.BAT File Question
Hello,
I have a batch file which opens a certain file. I need the batch file to press enter. Can this be done? If so, how?
Thanks,
Jeff
EDIT: to be more specific, it's a program to format the A: drive.
Last edited by jnadel; 04-07-2005 at 04:43 AM.
-
I did some more research on it. I thought I might be able to do it if it CALLed a file, but I'd just need to know the command for an enter/return I guess.
-
Not sure if I understand what you are asking
... but the command format a: will format A:
This can also be done by right clicking A: under My Computer & choosing Format...
Or are you asking something else?
-
Last edited by jephree; 04-07-2005 at 05:01 AM.
-
No...I know that. But, what I'm saying, is I'm creating a batch file to automate the process (even though it is short). Because, when you type format A:, it says to press Enter. So, what this will do is format A: and the enter by itself.
Thanks.