Skip to main content

Select a random file in Windows Explorer

Selecting a random file in Windows Explorer / File Explorer can be useful. Maybe you want to play a random song or video stored in a folder full of them, set a new wallpaper or play one of the games stored in a folder.

While you can use third-party software for that, most media players come with options to randomize playback for instance, you may like a solution embedded in Windows Explorer as well.

Random Selection Tool is a free tiny program for Windows that adds a random option to Windows Explorer. The program has a size of 10 Kiloybtes packed and 30 Kilobytes unpacked.

First thing you need to do is run it with administrative privileges. This opens a menu that you use to install or remove the explorer context menu addition. On first run you select to add it to Windows Explorer and find that option available when you right-click in a folder in the file browser.

There you find listed the new select random menu option. Selecting it picks a random file that is stored in the directory. The program does not load it directly and there is no option to do so but hitting enter afterwards or double-clicking the file does the trick.

select random

To repeat the selection process right-click and select the random option again from the context menu. It needs to be noted that this works only for the active folder. A right-click on another folder does not display the option which means that you need to browse to the folder before you can make use of the random selection option.

You can uninstall the context menu entry again by running the main Random Selection Tool program as administrator and selecting the remove option that time in the program window that opens up.

Please note that the program has two dependencies. The first is that it requires the Microsoft .Net Framework 4.0 which Windows 8 and newer versions of Windows support out of the box and all other supported versions of Windows can upgrade to if they have not done so already.

The second dependency is the Microsoft Visual C++ 2010 Redistributable Package which needs to be downloaded separately if not already installed on the system.

If you prefer a program that has no dependencies try Pick Me instead which does just that. Select a directory, pick file extensions that you want to include in the selection process and select how many results you want.

Closing Words

Random Selection Tool is a handy program provided that your system meets all the requirements or you don't mind installing them for the program. While it does not add anything major to Windows, selecting a file randomly from a folder can be useful in several occasions.

This article was first seen on ComTek's "TekBits" Technology News

HOME