View Single Post
Old Nov 11th, 2007, 5:46 AM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 928
Rep Power: 4 lectricpharaoh will become famous soon enough
Re: RND batch file example

Why not just write a small program, in whatever language, that generates random numbers and/or text, and then call it from the batch file? You also never said how you want the numbers/text. Are you wanting them to be displayed on the screen? This is quite simple. Do you want to use the output of the program as input into another program? This is also petty simple, as the program itself will be the same, but you will use pipes in the batch file. Do you want something else entirely? Your post was pretty vague, so you'll either need to give more information, or ask a psychic person for assistance.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp
lectricpharaoh is online now   Reply With Quote