MS DOS Batch file in Win95
MS DOS Batch file in Win95
(OP)
I am writing a batch file to store on my desktop as an Icon.
I need to know the command that tells the computer to continue (as it would if you hit the enter key) so that the batch doesn't stop and ask you to hit enter after you put a disk in the drive as well as when it asks for volume label.
Any help would greatly be appreciated!
I need to know the command that tells the computer to continue (as it would if you hit the enter key) so that the batch doesn't stop and ask you to hit enter after you put a disk in the drive as well as when it asks for volume label.
Any help would greatly be appreciated!
RE: MS DOS Batch file in Win95
It will still print the "Hit ENTER to continue" but it automatically formats the disk. Use /q if you want to do a "quick" format. "format /?" gives you all the options for format.
Hope this helps,
Paul Kincaid
P.S. Make sure there is no space between the "y" and the pipe - for some reason it won't work that way.
RE: MS DOS Batch file in Win95
RE: MS DOS Batch file in Win95
Is the batch file actually on the desktop, or are you using a shortcut to the batch file?
I'm stumped, I think I can get my hands on a Win98 machine this afternoon -- I'll try it there and see if there are any problems.
RE: MS DOS Batch file in Win95
format a: /v:volume_label /q < yn.txt
Then require a text file containing on separate lines :-
Y
N
Just as above - I made sure I put a return after the N as well. Can put the .TXT file anywhere and just put the full path to it in the batch command. Hope this helps.
RE: MS DOS Batch file in Win95