Search found 7 matches

by someguy
Sun Jan 10, 2010 2:18 am
Forum: Other Scripting Languages
Topic: Hiding Characters
Replies: 2
Views: 3242

Hiding Characters

Thanks!
by someguy
Sat Jan 09, 2010 2:34 pm
Forum: Other Scripting Languages
Topic: Hiding Characters
Replies: 2
Views: 3242

Hiding Characters

Heres my script so far:

Code: Select all

@echo off
:a
set /p input=Name:
if %input%==Name goto b else goto c

:b
set /p pass=Password:
if %pass%==Pass goto d else goto c

:c
echo wrong
sleep 1
exit

:d
echo right
sleep 1
exit
so is there a way to hide whatever they type after "Name:" and "Password:"?
by someguy
Wed Jan 06, 2010 8:13 am
Forum: Other Scripting Languages
Topic: CMD Set Enviornment Variables Help
Replies: 5
Views: 4174

CMD Set Enviornment Variables Help

also how to hide keys? (as in a password field)
by someguy
Wed Jan 06, 2010 7:50 am
Forum: Other Scripting Languages
Topic: CMD Set Enviornment Variables Help
Replies: 5
Views: 4174

CMD Set Enviornment Variables Help

Thanks!someguy2010-01-06 15:00:14
by someguy
Tue Jan 05, 2010 12:58 pm
Forum: Other Scripting Languages
Topic: CMD Set Enviornment Variables Help
Replies: 5
Views: 4174

CMD Set Enviornment Variables Help

in other words how do i tell the Command Prompt that if a variable is not equal to another variable then shutdown
by someguy
Tue Jan 05, 2010 12:57 pm
Forum: Other Scripting Languages
Topic: CMD Set Enviornment Variables Help
Replies: 5
Views: 4174

CMD Set Enviornment Variables Help

Im making a command script-type thing (is going very well can type google and it goes google xD) but how to say "if variable "a" is not equal to *somemocode* then do *this*) so "if %variable%*u tell me the'not=to sign here'*password shutdown -s -t 10 -c "HA!""
by someguy
Tue Jan 05, 2010 12:57 pm
Forum: Other Scripting Languages
Topic: CMD Set Enviornment Variables Help
Replies: 5
Views: 4174

CMD Set Enviornment Variables Help

Im making a command script-type thing (is going very well can type google and it goes google xD) but how to say "if variable "a" is not equal to *somemocode* then do *this*) so "if %variable%*u tell me the'not=to sign here'*password shutdown -s -t 10 -c "HA!""