/create-list-of-files-from-usb

This script waits for a new USB device to be plugged into the computer running Windows OS to create a list of names for the every files/folder within the directory of that device, this includes sub files/ sub folders, using recursion.

Primary LanguagePython

Create List of Files from USB

Created by Van. June 2018

Used references from https://stackoverflow.com/questions/40134760/identify-drive-letter-of-usb-device-using-python (jgrant) and https://msdn.microsoft.com/en-us/library/aa394606(v=vs.85).aspx

ASM Chart Sketch:
ASM

--------------------Demonstration--------------------

  1. Run script (USB device is not plugged in yet).
    START

  2. Plug in USB device. Device Letter should appear.

    3

  3. Output text will be created. The date and time will determine the file name.

    4

  4. Check that the output file is correct.

    5

  5. Plug in another USB device or end script.