Computing.Net > Forums > Disk Operating System > Need bat help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need bat help

Reply to Message Icon

Name: Hindsight
Date: August 26, 2003 at 18:41:39 Pacific
OS: XP
CPU/Ram: 512
Comment:

I've been recently messing around with batch files again. Heh unfortunatly the latest build of windows (XP), doesnt even run on the same shell anymore. Anyhow, I've noticed that a lot of the commands have been taken out completely. I used to use choice... which no doubt no longer works. If anyone has a work around for small imputs id love you forever. The other thing ive been having trouble with, is stripping. Is there any way to strip text, say from the ping command? Any help would be greatly appriciated.



Sponsored Link
Ads by Google

Response Number 1
Name: Nathan
Date: August 28, 2003 at 15:52:26 Pacific
Reply:

I cant help you on the other stuff but her's how I get input...

@echo off
echo type input and press enter.
set /p input=
echo input=%input%

        OR

@echo off
set /p input=type input and press enter:
echo input=%input%

Very easy and allows more then 1 char. to be entered.


0

Response Number 2
Name: Brian HANLON
Date: August 29, 2003 at 05:38:13 Pacific
Reply:

At URL: http://home.mnet-online.de/horst.muc/ you'll find:

WBAT 2.40 - Dialog Box Tool - (53Kb Download)

Dialog boxes for DOS batch:
menues, buttons, input fields, checkboxes, radio buttons, list selection
Easy handling, no ANSI stuff to deal with - colors are specified by name.
WBAT runs under all Windows versions or plain DOS.

Features:
Layout for box with text and control elements - all elements can be freely arranged
Quick box with specifications in the command line
Selection from batch generated lists (e.g. DIR file lists)
Text pages with color attributes
INI file with defaults and preferences
Win NT/2000 compatible handling of variables
Mouse handling is supported in a GUI box as well as in full screen mode. Of course WBAT will also work under plain DOS.

DEMO.BAT supplied with full handling details (instead of a DOC file).

Might be a bit of overkill, but you DO GET INPUT & CHOICE type commands. - It also makes your BATchfile LOOK GOOD!

Baldy.


0

Response Number 3
Name: Nathan
Date: September 1, 2003 at 01:06:04 Pacific
Reply:

by "stripping text" do you mean putting into a variable? or do you mean writing it to a file? help me out here i'm lost.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Need bat help

Need souncard help with DOS www.computing.net/answers/dos/need-souncard-help-with-dos/12286.html

I need more help! www.computing.net/answers/dos/i-need-more-help/11313.html

I need this help please... www.computing.net/answers/dos/i-need-this-help-please/14691.html