|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
There is this command which i know exist but which i can't find.
Let's say that i want to make a batch file which shows a menu when i open it. The menu will look like about this: Press 1 to show Systeminfo Press 2 to to do a CHKDSK Press 3 to show all the files in the current directory Could anyone give me a code example? The thing I'm after is not how to simply show the menu, but I'm wondering how i can make the user choose the action. |
| Sponsored Links |
|
|
|
|||||
|
There's other ways to get user input than Jordan's method (though, his is probably the best) You could look into set and choice.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. I'm always up for a chat, so feel free to contact me... |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Batch File Help | ineedhelp | General Programming | 4 | 11-15-2007 07:04 PM |
| Dynamic programming help needed | Wo Hu | General Programming | 2 | 10-11-2007 11:22 AM |
| Beginning Programming | frank_l | C and C++ | 11 | 10-11-2007 02:23 AM |
| Xav | ........ | 1276.19 |
| MeTh0Dz|Reb0rn | ........ | 1048.58 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 872.39 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 761.06 |
| Brandon W | ........ | 684.87 |
| chili5 | ........ | 294.12 |
| Steve.L | ........ | 216.18 |
| dargueta | ........ | 192.86 |
Goal: 100,000 Posts
Complete: 81%