Basic Windows Application in Batch File

Basic Windows Application in Batch File

Model: Claude
Difficulty: Beginner
Upvotes: 0
automationBATmenuscriptingWindows

โ€” Prompt โ€”

Write a .bat script that opens a menu for 3 tasks: open Notepad, check IP address, and log off user. Include clear menu text and safe input handling.

Why It Works

Great for IT starter projects, troubleshooting, or in-lab kiosk work.

Example Output

Menu: 1-Notepad, 2-IP, 3-Logoff. If error: re-prompt user. Calls: notepad.exe, ipconfig, shutdown /l.