Yes, Desktop and Startup folders are different for each Windows
installation, every installation has it's own set of folders so you
would have to have a copy of the .bat file in all the different
folders for it to work. Here is another thing that you can do:
Place a copy of the file in the root of the System Drive (where
ntdetect.com, boot.ini & ntldr are located, usually C:\) and then you
will/should be able to run the file from the Start menu Run box. For
example if you call the file mm.bat then when you enter mm in the Run
box and press enter it will (should) run the .bat file and give you
the information. If that doesn't work put a copy of the file in all
the System or System32 folders.
For the boot.ini thing that is easy to figure out, edit the file and
stick matching identifying numbers in the "surrounded text" then boot
the installations one by one and find out and make note of the drive
letter associated with the path and then change it again in the
boot.ini file. For example, add numbers something like this to the file:
multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP Professional
0-1-0-1"
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional
0-0-0-2"
Make a backup copy of the file before you make changes... just in
case. Or better yet make a startup diskette and test it, then if you
botch the boot.ini file you know that you can still boot the computer
and restore the file. To make a startup disk while booted in one of
your Windows NT/2000/XP installation format a floppy disk and copy
these files from the System Drive (usually C:\)to the diskette:
ntdetect.com
boot.ini
ntldr
Now boot the computer with it and see if it works, then you can rest
assured that you can still boot the computer even if you completely
muck-up the boot.ini file. This startup disk wont work if you create
it on a Windows 9x computer.
John
Thanks, John.
1. I thought that both DeskTop and Startup are located on the same
drive as
the OS and the commad you gave me might have just returned the drive
letter
the file is sitting on.
Now I see that is not the case.
2. boot.ini - it looks like a good idea if I only knew how a path
like
disk(1)rdisk(0)partition(1) maps to a drive letter.
Do you know?
"John John" <
[email protected]> ???????/???????? ? ????????
?????????:
You can put the .bat file wherever you want, I suggested the Desktop
because it's easier to find there, but that isn't necessary. You can
even place it in your Startup folders and it will automatically open
when the operating system is loaded.
Another thing that you can do is add the drive description to the
boot.ini file, that way you will see it before you select the operating
system to be booted. For example, typically a boot.ini file with two
operating systems entries looks like this:
[boot loader]
timeout=30
default=multi(0)disk(1)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP Professional"
/fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional"
/fastdetect
The stuff surrounded by the quotation marks after the = is what you see
on the boot menu. So you could change the surrounded text to something
like this:
="Windows XP Professional Drive x"
="Windows 2000 Professional Drive y"
John
aa wrote:
Thanks, John
Is it important that this BAT file is sitting on the desktop, or I can
save
it to a logical drive so that it is available for all the OS on this
comoputer?
"John John" <
[email protected]> ???????/???????? ? ????????
?????????:
At a command prompt issue: echo %windir%
Or you can put a little .bat file on the desktop with this line in
it:
cmd /k echo %windir%
John
aa wrote:
There are several partitions on the Hard Drive with several w2k
and XP
installed
When I boot into an OS how can I quickly see which drive letter
it is
on?