Solved Batch Admin tool help

April 4, 2015 at 21:50:48
Specs: Windows 8
What I am trying to do here is make a batch program that acts as kind of and admin tool, you can chat with the other people using a different "User" version of the program and also using the options menu you could launch websites or just spam them with chat box(s) but for some reason the program is not going to the options menu.

NOTE: the only reason this would work is because I'm using a network of computers that share the same storage. While the user side will be in my buddy's "area" and admin in mine.

@echo off
cls
title xX Admin's Menu Xx
echo ================================================================================
echo Welcome Admin
echo ================================================================================
echo.
echo 1) Chat
echo.
echo 2) Options
echo.
set /p Menu= Choose An Option:

if %Menu%== 1 goto Chat
if %Menu%== 2 goto Options
------------------------/\/\/\/\/\/\/\/\/\/\------------------------------------------------------------- It says goto options
:Chat
cls
title Admin's Chat
echo =============================================================
echo Chat
echo =============================================================
echo.
set /p TEXT= Type What You Want To Say:
echo x=msgbox("%TEXT%" ,0+4096+64, "Admin Says")>> Chat.vbs
start Chat.vbs
goto Chat
-----------------------------------------------------------------------------------------------------------------but it never does
:Options
cls
title Admin Options
echo =============================================================
echo Admin Options
echo =============================================================
echo.
echo 1) Open A WebSite
echo 2) Spam
echo.
set /p Options= Choose An Option:

if %Options%== 1 goto OAW
if %Options%== 2 goto Spam

:OAW
Pause


See More: Batch Admin tool help

Report •

#1
April 4, 2015 at 23:29:53
✔ Best Answer
Look at these lines:

if %Menu%== 1 goto Chat
if %Menu%== 2 goto Options

You need to be precise.

=====================

M2 Get custom script or take private lessons


Report •

#2
April 5, 2015 at 13:48:13
I don't know what I did but after tinkering for a bit last night, it now works.

Thanks anyways! I'm sure I'm going to need more help on this project...


Report •
Related Solutions


Ask Question