Skip to main content

All Questions

Tagged with
0 votes
2 answers
1k views

How to get a random filename from a directory and using it within a command?

play ~/Music/audio0.flac repeat - A command for playing a single specific audio file on repeat. play ~/Music/${random_audio_file} repeat - A pseudo command for playing a single random audio file from ...
01AutoMonkey's user avatar
0 votes
0 answers
2k views

How do I get real random in CMD?

I have some script which every PC in network download and execute, and the task is NOT to run script simultaneously. So, I used simple pseudo-random for timeout like TIMEOUT /T 2%random:~0,2% But as ...
alive-one's user avatar