| 1. |
Solve : Trying to make a batch file need help? |
|
Answer» The first batch file I NEED help with is to use REPLACEABLE parameter that will accept a file name from the command line and list the contents of that file using a pipe command for example: the user types in User list the contents of the user file.doc will list and pause between pages The computer I am using is window vista Text editor is notepad++Code: [Select]@echo off Thank for the Help the code seems to work what is that *.fil part for? to bring up any of the file with the ext of .fil. I tried using wild card but it brought everything up on that drive and I only need a specific ext. Quote from: Dias de verano on March 19, 2009, 12:35:07 PM Doing his homework but he'll get the grade not you. However there is a gotcha in that code which the OP may or may not discover... was that intentional? (Let's not spell it out) I think so too Quote from: mdf1 on March 19, 2009, 02:04:17 PM to bring up any of the file with the ext of .fil. I tried using wild card but it brought everything up on that drive and I only need a specific ext. You don't UNDERSTAND what a replaceable parameter is, and your teacher will see that and be able to help you, which is good. So let's LEAVE it like that, eh folks? i should have asked him if it was homework. but oh well.... |
|