Previous Thread
Next Thread
Print Thread
Rate Thread
#8441 09/14/02 10:18 AM
Joined: Sep 2002
Posts: 10
N
Junior Member
OP Offline
Junior Member
N
Joined: Sep 2002
Posts: 10
I'm having trouble figuring out how to get user input in one of my basic batch files, I've looked at various sites and still don't understand, could someone please explain if you have the time. I really want to learn.
l8r
nueone

#8442 09/14/02 10:53 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
yo stupid, I already gave you code on how to do this. Here, I'll leave out all the extra crap, maybe you'll get a clue this time. It's part of a batch file I've made to install a program I've made.

Code
@ECHO OFF

:MAIN
CLS

ECHO Welcome to the TCP WorkShop Installation setup.
ECHO Here we'll register or unregister the required DLL files.
ECHO.
ECHO Please choose:
ECHO   1 Auto   Install
ECHO   2 Auto   Uninstall
ECHO   3 Expert Install
ECHO   4 Expert Uninstall
ECHO   5 Quit
ECHO.
CHOICE /n /c:12345 "> "

IF ERRORLEVEL 5 GOTO QUIT
IF ERRORLEVEL 4 GOTO EUninstall
IF ERRORLEVEL 3 GOTO EInstall
IF ERRORLEVEL 2 GOTO AUninstall
IF ERRORLEVEL 1 GOTO AInstall

:AInstall
ECHO dumbass pressed 1
pause
GOTO MAIN

:AUninstall
ECHO dumbass pressed 2
pause
GOTO MAIN

:EInstall
ECHO dumbass pressed 3
pause
GOTO MAIN

:EUninstall
ECHO dumbass pressed 4
pause
GOTO MAIN

:QUIT
ECHO dumbass wanted to quit
pause
See that? Put that into a batch file and run it. Can't you figure it out by example?

(required external program: CHOICE.COM. You used to be able to download batch utility files from my website, but since I don't have it up yet, I've opened an FTP server to its download directory:

server: serialcoders.sytes.net:21
location: /Download/DOS/BatUtils.zip)


Domain Registration, Hosting, Management
http://www.dollardns.net
#8443 09/14/02 11:42 AM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
What type of user input did you want to put into the file? I dont think its a strong enough language to handle variables. The user input in rage's script is in the form of the user making a choice, either 1,2,3,or 4. All other input has to be taken from files or input devices I think I never got to heavy into batch scripting...

#8444 09/14/02 12:05 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
"I never got to heavy into batch scripting..."

Then don't speak up.

Batch programming has plenty of variables. Environment variables. I rely on them heavily in certain tasks. Also, you don't have to make a numerical choice from 1 to 5. You can make it a yes/no/cancel choice using the y/n/c characters. Any character you want can be the input.

People has made batch viruses before. It is not as weak as you may think.


Domain Registration, Hosting, Management
http://www.dollardns.net
#8445 09/14/02 03:24 PM
Joined: Sep 2002
Posts: 10
N
Junior Member
OP Offline
Junior Member
N
Joined: Sep 2002
Posts: 10
thnx for the help sr, sorry your all like pissed off, just asking a question, i couldnt get it before so i was tryin again and just wanted to get more answers.
l8r
nueone

#8446 09/14/02 04:56 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
wink I'll let you in on a little secret. I don't get pissed. I've been pissed all of 3 times on this board. once at TRON, a second time at IceDog, and a 3rd time at Caffeine - which comparitively didn't last nearly as long. Of those three, only TRON put me into a true RAGE. wink It's where I got my name after all.

Everything else is just a moments irritation which I forget about in 5 minutes.


Domain Registration, Hosting, Management
http://www.dollardns.net
#8447 09/14/02 09:46 PM
Joined: Sep 2002
Posts: 10
N
Junior Member
OP Offline
Junior Member
N
Joined: Sep 2002
Posts: 10
SR- what did tron do to get you all pissed off.
nueone00

#8448 09/14/02 10:40 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
nah, I won't get into this discussion in the newbie forum. I don't really wanna discuss it anyway. It's not important.


Domain Registration, Hosting, Management
http://www.dollardns.net
#8449 09/15/02 05:32 PM
Joined: Mar 2002
Posts: 562
UGN Supporter
Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
Just know this, SR used to be H@ck@ngel

It got ugly, then he became SilentRage. He is such a n00b but we love him anyway. :p

#8450 09/16/02 08:24 PM
Joined: Mar 2002
Posts: 185
M
Member
Offline
Member
M
Joined: Mar 2002
Posts: 185
lol, that quite humerous Le4ner

(p.s. I'm not joking)


Cha want some w***up?

http://www.dopeskill.com
#8451 09/17/02 10:40 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Quote:
Originally posted by SilentRage:
wink I'll let you in on a little secret. I don't get pissed. I've been pissed all of 3 times on this board. once at TRON, a second time at IceDog, and a 3rd time at Caffeine - which comparitively didn't last nearly as long. Of those three, only TRON put me into a true RAGE. wink It's where I got my name after all.

Everything else is just a moments irritation which I forget about in 5 minutes.
awwe i've never pissed you off? how about phukedklown? heh

I know that i've pissed off learner...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#8452 09/18/02 06:02 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
I seem to remember a 'phukedklown' somewhere, but I've forgotten all about him. IceDog pissed me off cause of his actions toward me. Caffeine pissed me off with his blind arrogance. TRON pissed me off with a combonation of both.

You've got the right stuff there Gizmo, I agree, you've displayed both to Learner. But mostly, you're not arrogant, it's just conceit like I have. And mostly you don't smack people around unless they deserve it. It's a good thing, don't change.


Domain Registration, Hosting, Management
http://www.dollardns.net
#8453 09/18/02 07:07 PM
Joined: Mar 2002
Posts: 562
UGN Supporter
Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
Yea Gizzy got me.... I was Pwned... lol

/me ph34rs

#8454 09/19/02 11:27 AM
Joined: Aug 2002
Posts: 274
Likes: 1
UGN Supporter
Offline
UGN Supporter
Joined: Aug 2002
Posts: 274
Likes: 1
everyone pisses me off

#8455 09/19/02 07:40 PM
Joined: Mar 2002
Posts: 562
UGN Supporter
Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
ha dude you have no idea.....


Link Copied to Clipboard
Member Spotlight
Posts: 43
Joined: November 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 7.7.5