kooldudematt
New member
- Local time
- 7:19 PM
- Messages
- 4
I need help creating batch file that will do the following...
I want it to echo "Welcome (insert name here)."
I want it to say "How are you today, good or bad?" [G, B]
If G, I want it to display, "That's great to know, sir! Would you like me to open your homepage? [Y, N]
If Y, I want it to execute cd C:\Program Files\Internet Explorer\iexplore.exe
If N, I want it to EXIT
If B, I want it to display "I'm terribly sorry to hear that. Would you like me to open Internet for You?"
If Y, execute cd C:\Program Files\Internet Explorer\iexplore.exe
If N, I want it to pause
Any help would be great, because everytime I put in the commands, they don't work (I'm sure I'm not putting them in correctly). I do not understand much of the way Microsoft CMD help explains it, so please put it in examples and plain English! Thanks!
I want it to echo "Welcome (insert name here)."
I want it to say "How are you today, good or bad?" [G, B]
If G, I want it to display, "That's great to know, sir! Would you like me to open your homepage? [Y, N]
If Y, I want it to execute cd C:\Program Files\Internet Explorer\iexplore.exe
If N, I want it to EXIT
If B, I want it to display "I'm terribly sorry to hear that. Would you like me to open Internet for You?"
If Y, execute cd C:\Program Files\Internet Explorer\iexplore.exe
If N, I want it to pause
Any help would be great, because everytime I put in the commands, they don't work (I'm sure I'm not putting them in correctly). I do not understand much of the way Microsoft CMD help explains it, so please put it in examples and plain English! Thanks!
My Computer
- Computer Manufacturer/Model Number
- eMachines/EL1850
- OS
- Windows 7 Home Premium 64-bit (6.1, Build 7600)
- Motherboard
- Intel(R) Celeron(R) 450 @ 2.20GHz, ~2.2GHz
- Memory
- 2.00 GB
- Monitor(s) Displays
- Dell ST2010f

