Now save the file and close it. Now, make another file called scriptname.txt

Inside of this file, put the following lines:

list diskselect disk 0list partitionselect partition 1active

Now save the file and close it. As long as both files are in the same location, when you run batchfile.bat it will work.

I think I tried as suggested but it did not change active partition. The following shows how the files I created look.The following is a command session to switch active partition from partition 1 to partition 2, which shows exactly what I want to do.

I used to have so much fun with batch files back in the dos days. The echo command, the @ sign for hiding certain lines to make clean menus. I even made a woman I was dating a multiple choice questions game with batch files.

There is no drive connected that has the label of "External 50"These are the currently connected volumes:Volume 1 on Disk 0 has the Label NTFS PartVolume 2 on Disk 0 has the Label OSVolume 3 on Disk 0 has the Label HP_RECOVERYVolume 4 on Disk 0 has the Label FAT32 PartVolume 5 on Disk 1 has the Label Storage

Unfortunately for me it didn't work, but I have high hopes it could be tweaked to work. I'm on Win7 Pro x64.

There is no drive connected that has the label of "OS"These are the currently connected volumes:Volume 1 on Disk 0 has the Label NTFS PartVolume 2 on Disk 0 has the Label OS

For me it's a "hey neat!" kinda thing. But practical use? Uh, no idea. Just use a bootloader or something, right? I'm guessing he wants to automatically switch where to boot every time he turns on his computer. Maybe. Got no idea.