You are viewing our Forum Archives. To view or take place in current topics click here.
I need Batch help
Posted:
I need Batch helpPosted:
Status: Offline
Joined: Jul 20, 201113Year Member
Posts: 371
Reputation Power: 15
Status: Offline
Joined: Jul 20, 201113Year Member
Posts: 371
Reputation Power: 15
Hello I have been trying to create a batch program. The program i am making is a file organizing system that uses file extensions to find files. I have pretty much everything set up but I can not get it to work with wrong inputs. I need a code for if someone types a wrong code i need to send them to a :Wrong code group. If anyone knows a code i could use for this it would be much helped
this is how i am setting it up
set /p number=
if %number% == school goto open
if %number% == batch goto open1
:wrong
this is how i am setting it up
set /p number=
if %number% == school goto open
if %number% == batch goto open1
:wrong
#2. Posted:
Status: Offline
Joined: Nov 18, 201212Year Member
Posts: 248
Reputation Power: 229
Status: Offline
Joined: Nov 18, 201212Year Member
Posts: 248
Reputation Power: 229
i will help u out let mne mess round with it
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jul 20, 201113Year Member
Posts: 371
Reputation Power: 15
Status: Offline
Joined: Jul 20, 201113Year Member
Posts: 371
Reputation Power: 15
nadelyfe wrote i will help u out let mne mess round with it
thanks will you need more of the code?
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.