Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: Menu?
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 19 of 22 Topic 489 of 500
Post > Topic >>

Re: Menu?

by "Rick" <richard.cheetham80@[EMAIL PROTECTED] > Apr 3, 2008 at 11:47 PM

Thanks it works ok now, but will the line :-

        if [%n%] ==[h] echo set n=i>>_2.bat
 interfere with the variable used earlier:-

    for %%i in (*.txt) do call %0 1 %%i

Thanks

Rick
PS Am i correct in assuming you can get a batch file to display a list of 
directories and then choose a directory to go into?

"Herbert Kleebauer" <klee@[EMAIL PROTECTED]
> wrote in message 
news:47F55F9B.C20AEE76@[EMAIL PROTECTED]
> Rick wrote:
>
>> The batch file works ok with up to 4 files. Then every one after the
4th 
>> is
>> designated an [e] although pressing e does cause it to open the 5th
one.
>> Could it be these lines?
>>
>> if [%n%] ==[d] echo set n=e>>_2.bat
>>
>> this is the 1st line where n=e.  Every instance after this n=e right up

>> to
>> if [%n%]==[z] then n=e.
>
> Sorry, tested it only with three files. Change it to
>
> if [%n%] ==[d] echo set n=e>>_2.bat
> if [%n%] ==[e] echo set n=f>>_2.bat
> if [%n%] ==[g] echo set n=h>>_2.bat
> if [%n%] ==[h] echo set n=i>>_2.bat
> :
> :
 




 22 Posts in Topic:
Menu?
"Rick_C" <ri  2008-03-29 20:14:20 
Re: Menu?
Jawade <Henk_Jawade@[E  2008-03-29 21:34:56 
Re: Menu?
ArarghMail803NOSPAM@[EMAI  2008-03-29 18:42:58 
Re: Menu?
Herbert Kleebauer <kle  2008-03-30 01:53:24 
Re: Menu?
ak621@[EMAIL PROTECTED]   2008-04-01 12:51:11 
Re: Menu?
"Rick" <rich  2008-04-02 00:31:43 
Re: Menu?
Herbert Kleebauer <kle  2008-04-02 10:14:26 
Re: Menu?
"Rick" <rich  2008-04-02 15:08:39 
Re: Menu?
Herbert Kleebauer <kle  2008-04-02 17:48:21 
Re: Menu?
"Rick" <rich  2008-04-02 20:08:19 
Re: Menu?
Sjouke Burry <burrynul  2008-04-02 22:49:50 
Re: Menu?
"Rick" <rich  2008-04-02 22:11:15 
Re: Menu?
"Rick" <rich  2008-04-03 00:07:36 
Re: Menu?
Sjouke Burry <burrynul  2008-04-03 02:18:09 
Re: Menu?
"Rick" <rich  2008-04-03 00:24:40 
Re: Menu?
Herbert Kleebauer <kle  2008-04-03 11:07:36 
Re: Menu?
"Rick" <rich  2008-04-03 22:06:20 
Re: Menu?
Herbert Kleebauer <kle  2008-04-04 00:52:11 
Re: Menu?
"Rick" <rich  2008-04-03 23:47:26 
Re: Menu?
Herbert Kleebauer <kle  2008-04-04 13:55:22 
Re: Menu?
Robert Riebisch <Rober  2008-04-04 17:14:41 
Re: Menu?
ak621@[EMAIL PROTECTED]   2008-04-04 16:52:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:54:20 CDT 2008.