General discussion


Help with batch file

By dm_park ·
I'm a college student who needs to write a batch file to automate formatting a floppy. The only problem I have is the final question: Do you want to format another?

How can write a batch file to automatically put in no for this answer?

Any help would be much appreciated.

Thank You

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

Help with batch file

by jmcorn01 In reply to Help with batch file

Create a text file with just the letter "N" and a carriage return. When you invoke the batch file from the command line redirect input from that text file. - i.e.
C:\yourdir\yourbatch.bat < yournofile.txt

Related Discussions

Related Forums