@Dch48,
Apologies for the difficulties. I've run that on probably 100+ machines and never encountered anything like that. It's especially odd that simply partitioning a thumb drive would render it unseen to a USB port.
Let me do some investigation and see if I can get any clue into why that's happening.
Firstly, how large is the ISO image file that you mounted? I just want to be sure that it will fit on an 8GB flash drive. The batch file should detect if it won't but I just want to be sure up front.
In the meantime, if you want to try manually partitioning that thumb drive just to see if this happens outside of the batch file, I'd be curious as to what happens. If you don't want to risk it, I don't blame you :).
Here are the steps:
1) Run "diskpart"
2) In diskpart, run "list disk".
3) Note the drive number for the flash drive. I will assume disk 2 in the commands below, but be sure to replace "2" with the correct disk number. Also, I am assigning drive letters E and F. Use letters that are available on your system.
4) Run this series of commands:
select disk 2
clean
convert mbr
create partition primary size=1000
format fs=fat32 quick
assign letter=E
active
rescan
create partition primary
format fs=ntfs quick
assign letter=F
rescan
exit
At this point the flash drive should have 2 partitions. One just under 1GB in size, and another occupying all remaining space on the drive.