Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.
|
|||||||
How do I create a Randomly Picking Batch File?
![]() |
|
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
How do I create a Randomly Picking Batch File?
Does anyone know how I would write a batch file to pick at random one name from a list?
We want to be able to randomly choose a place to eat every Friday at work! I have found some batch files written that are supposed to do this, but I cannot get them to work. Thanks! Last edited by chance1138; 06-29-2007 at 01:59 PM.. |
|
#2
|
||||
|
||||
|
Why do it with a batch file? That's just masochistic.
Use Excel instead.. Any scientific calculator will do too. Even dice would be easier. |
|
|
|
#3
|
|||
|
|||
|
You can use Excel to choose a random option from another file? I guess I'm not sure how that would work.
I suppose I could get dice to work... ![]() |
|
#4
|
||||
|
||||
|
Why would you choose from another fle? Copy the place list to a preadsheet and work on that.
Maybe we need some more info on how your system works and would work in the future.. |
|
#5
|
|||
|
|||
|
I had a friend who had previously designed an Excel file to do the same thing make me one. Thanks for the suggestions.
The file has a list of restaurants, and a rating given by 3 people. This rating is made into a weighted average, and that average is applied to how often each restaurant is chosen. Basically, the more-liked restaurants are picked more often, for obvious reasons. So it isn't exactly random, but it still takes out the pain of decision-making! IMO it is a pretty in-depth program to have designed for something so simple, but this guy is also a friggin' genius. Last edited by chance1138; 07-02-2007 at 11:06 AM.. |
![]() |
| Thread Tools | |
|
|
| Similar Topics | ||||
| Topic | Category | Replies | Last Post | |
| Batch File Help | Windows OS | 8 | 02-23-2007 03:09 AM | |
| How can i replace a in-use file with CMD or batch..?? | Windows OS | 3 | 02-20-2007 03:15 PM | |
| batch file help | Windows OS | 0 | 08-30-2006 09:11 PM | |
| batch file | Software & Utilities in General | 10 | 04-06-2006 07:55 PM | |
| help me create a batch file in XP | The Meeting Spot - Chat & Socialize | 2 | 07-07-2004 05:13 PM | |
All times are GMT -4. The time now is 06:15 PM.



