zwitt
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
it just exits me out immediately
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
i did this and it still wont run to another part 😭
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
wait
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
OKAY
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
OH
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
i uhhhhh redo it again, my problem rn is that the other commands that i put doesn't come out and js exits me
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
YES I MEANT RUN IT, i did save the notepad as .bat file
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
if u ask me if its genshin impact inspo, yes it is
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
but when i try to look at the batch file, its NOT POPPING UP AND IM TRYING TO LOOK WHATS WRONG W IT 😭
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
i did it in notepad
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
its not fully finished yet
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
:MoreOrder
Echo Confirmed! Thank you, traveler!
Echo Total Spend: 15,450 mora
Pause
CLS
Echo 30 minutes had passed.
Echo Order is served in Table 1!
Pause
CLS
Echo Serve more customers?
Echo [S] "Serve"
Echo [I] "Ignore"
Choice /c SI /m "Press S to Serve, I to Ignore customers"
If %errorlevel%==1 goto Serve
If %errorlevel%==2 goto Ignore
:Ignore
Echo +10 bad rating of the restaurant. Oh no!
Pause
goto Exit
:Serve
Echo Going right up to Table 2!
Echo This day is going to be long...
Pause
CLS
21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
Echo Your order will be in 30 minutes, waiting minute start.
Pause
Echo %DATE%
Echo %TIME%
Pause
Echo During the wait, you may as well visit our sites if you want!
Echo - - - - - - - - - - - - - - - - - - *,
Echo Facebook - Liyue's Best Restaurant
Echo Youtube - Xiangling's Restaurant
Echo Twitter - Liyue's Best Restaurant
Echo Instagram - Xiangling'S Restaurant
Echo - - - - - - - - - - - - - - - - - - *,
Pause
CLS
Echo - - - - - - - - - - - - *,
Echo Name - Xiangling's Restaurant
Echo Contact Number - 0991 234 5678
Echo Address - Liyue, China
Echo - - - - - - - - - - - - *,
Pause
Echo Time Check of Order = %TIME%
Color 0A
Pause
CLS
Echo +---------------------------+
Echo * Confirm Your Order? *
Echo * [A] Yes [B] No *
Echo +---------------------------+
Choice /c AB /m "Press A to Confirm, B to Decline"
If %errorlevel%==1 goto MoreOrder
If %errorlevel%==2 goto Exit
:Exit
Echo Thank you for visiting Xiangling's Restaurant, see you next time!
Pause
Exit21 replies
CPSComputer Programming - Seneca Polytechnic College
•Created by zwitt on 3/11/2025 in #ask-a-question
Batch file.... whats wrong?
@ECHO OFF
title Liyue's Dining!
Color 0B
Echo -----------------------------
Echo | Xiangling's Restaurant |
Echo -----------------------------
Color 09
Pause
Echo +---------------------------+
Echo | Welcome to Liyue Dining! |
Echo | Enjoy your meal! |
Echo +---------------------------+
Pause
Echo ============================
Echo Here's the menu: ~';.! *
Echo ============================
Echo - Soup Slime = 1,020 mora
Echo - Chili Sticky Rice = 1,500 mora
Echo - Chili Glazelillies = 5,400 mora
Echo - PaimonLicious = 50 mora
Echo - Beef Lotus = 2,400 mora
Echo - Cup of Mix = 10,000 mora
Echo - Salvation of Flavors = 1,500,000 mora
Echo ============================
Pause
set name="Guoba"
Echo This is Xiangling's assistant, %name% for order! *,
Echo Taking your order, Noting it up! %name% is taking...
Pause
Echo *,
Listing orders...
Echo 1. Chili Glazelillies
Echo 2. Paimonlicious
Echo 3. Cup of Mix
Echo Total: 15,450 mora
Pause
CLS21 replies