I realize the original post author intended this to be a general solution for Windows 7 thru 10, but please note:
As of Windows 10 "Creators Update" (version 1703, released in April 2017), Windows now has built-in support for multiple partitions on USB flash drives, and you no longer need to...