Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch File Random Number
Name: jcgun Date: April 29, 2009 at 11:00:26 Pacific OS: Windows Vista Subcategory: Batch
Comment:
Hello, I want a random fact part of my Batch File, but when i use the %random% command, it crashes.
I believe that this is because '%random%' picks a number between 1 and 32767.
Is there a way of randomly selecting a number between 1 and 10 (that i can change, should i wish to add more facts)
Summary: Hi Everyone, I'm writing a batch file to delete folders older than a certain date and have come across a strange occurrence. When trying to reduce the number of a variable (ie. if 'Day' is currently...
Summary: I just got one batch to call another batch that deleted it, all it seemed to do was end the script after the call. Kind of brings new meaning to "end of file" ending a script.... So I would guess thi...