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 14 of 22 Topic 489 of 500
Post > Topic >>

Re: Menu?

by Sjouke Burry <burrynulnulfour@[EMAIL PROTECTED] > Apr 3, 2008 at 02:18 AM

Rick wrote:
> When I use it ( The Menu batch file) with any prog except 'edit.com' the

> menu doesn't reappear when you close the text editor.
> Unfortunately a lot of my text files are 400k+ and edit won't open them.

> Type won't work because the batch file won't accept the '| more' command
> I've tried Word for DOS, WP5.1 for DOS, Vi, Elvis, vile.  Anyone know of
a 
> basic text editor similar to edit.com that opens large text files,  or
how I 
> can alter the batch file so that it redisplays the menu. I think that it
is 
> only edit.com that totally clears the screen when it has finished.
> 
> 
> 
> Rick
> 
> 
> "Rick" <richard.cheetham80@[EMAIL PROTECTED]
> wrote in message 
> news:7wTIj.34446$jH5.29681@[EMAIL PROTECTED]
>> Thanks all - it now works.
>>
>> Can anyone explain what exactly these lines do?
>>
>> if [%n%]==[b] echo set n=c>>_2.bat
>> if [%n%]==[b] echo if errorlevel  2 if not errorlevel  3 edit %m%
>>_1.bat
>>  edit means open edit.com, but the rest  I don't know.
>>
>> Rick
>>
>>
>>
>>
>>
>> "Sjouke Burry" <burrynulnulfour@[EMAIL PROTECTED]
> wrote in message 
>> news:47f3f16d$0$25498$ba620dc5@[EMAIL PROTECTED]
>>> Rick wrote:
>>>>> Which OS do you use?
>>>> Dos 6.21
>>>>
>>>> Error seems to be on the choice line,
>>>> it displays :-
>>>> TESTM>choice /n /c:abc0 [a-c, 0 for exit]:
>>>> Bad command or file name
>>>> TESTM>if not errorlevel 27 goto loop
>>> Choice is a program,(CHOICE.COM) and if that is not found in the
>>> path, it fails.
>>> It is part of dos6.22, and its help says from dos4.00 up
>>> Before that Norton utilitys had something like it.
>>> There is also a version in c_snippets.
>>> Also google turned up for the below search phrase:
>>> choice.com download
>>> a lot,reference 2 looks oke.
>>
> 
> 
Try : call program.exe(or com)......etc.........
to make sure you get back to the batch file, when "program" exits.
The call in front opens a new shell for the program, and
ensures return to the batch file.
 




 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 Sat Jul 26 1:59:36 CDT 2008.