I had Windows XP Pro running on my PC and I've installed Windows 7 using dual-boot.
I want to create a command line BAT file that will allow me to change the default OS system before I boot. For example If I'm working on XP and wants 7 to start-up automatically then I'll execute the batch file and it will manipulate the boot info so that i won't have to select it, and if i work in Windos 7 and want to automatically restart to xp i will run another BAT file.
I was able to do it in windows 7 using the command line bcdedit.exe application tha can control any aspect of the boot settings, but i couldn't find anyway to control the boot settings from within XP because the boot "belongs" to windows 7 and XP doesn't even "know it" or able to access it.
However I have a third-party application able to do that called VISTABOOTPRO, so i can assume it is indeed possible, but i want to create a simple one-click procedure to do it for me.
Does anyone know how can i access the boot settings from Windows XP ?
The bootloaders for XP and Win 7 / Vista are completely different. There is no way Windows XP will recognize Windows 7's bootloader. Once you installed Windows 7, XP's bootloader was overwritten and no longer exists. Windows XP no longer has any boot settings whatsoever.
------------------------------Desktop: Windows 7 Professional 64-bit; Intel Q6600 CPU; E-VGA 780i SLI motherboard; E-VGA E-GeForce 8800GT; OCZ Vista 4GB dual-channel kit; Ultra X2 750W power supply; 2 x Seagate Barracuda 7200.11 500GB in RAID 0. Laptop: Acer Aspire 8730-6314;
Reply to Zoron
Because the third party app was specifically designed for that purpose. Windows XP's bootloader no longer exists, however... the best you can hope to do is change the default manually each time before you reboot. It's really just easier to select the OS at the choices menu.
It's really just easier to select the OS at the choices menu.
I second this. Set the default entry from within 7 for whichever OS you use more, and change the selection at the boot menu whenever you want to use the second OS.
------------------------------If you think this post was the most helpful, please remember to mark it as the best answer!
Reply to The_Prophecy