Removable Drive Free Space
The best and easiest way is to use fsutil, a command line tool included in Windows. Open up command prompt from Start Menu > Accessories and type the following command:
fsutil file createnew J:\MKF 309903360
fsutil file createnew
You will see that your USB flash drive’s LED is blinking meaning the file is being created. Now my pen drive has 0 free space and virus won’t be able to get in. You can change 309903360 to the size that you want in bytes. F: is the letter of my USB flash drive and IamDummy is the file name. When you want to copy files into the USB removable drive, simply delete the dummy file. When you’re done, create the dummy file again using the fsutil command.