|
-
February 22nd, 2002, 12:34 PM
#1
Printing
How would the commands to have a batch file:
prompt to ask which *.txt file would you like to print in a specified directory...?
Example,
I want the batch file to run in DOS window at c:\temp where I may have 5 *.txt files and I only want to chose 1.txt and or 2.txt file to print.
Any help is greatly appreciated!
-
February 24th, 2002, 12:38 AM
#2
You'd probably find a workable batch file already posted to the newsgroup alt.msdos.batch or several good starting points at least.
I'd use Dir with *.txt first to make the choice list and then use Choice to select the file. But I have no DOS mode printers to even begin testing such a batch file, so I can't help beyond this - sorry.
You have copied over the oldmsdos folder from your install CD so that you can use the Help command which explains all the switches, etc., right?
-
February 24th, 2002, 02:39 AM
#3
Geezer
You need to do it with markers & if....
However that's probably not much help so try <a href="http://www3.sympatico.ca/rhwatson/dos7/links.html" target="_blank">a random site I found which may well answer it all?</a>
If that's still no help PM/e-mail me & I'll walk you through it, it's been 10 years or more but I used to do it for a living so we'll see if I've killed those brain cells yet....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks