I mean, did you have to enter each path somewhere for those other optional ways of opening MBRWiz? No matter where I put it, it only works from the system32 folder so far.
Yes, each path must be in the Path Environment Variable, and the file extension .exe, .bat etc..etc.. must appear in the Pathext Environment Variable.
Here are the vars I use:
Path=c:\windows\;c:\windows\system32;c:\;c:\bat;C:\Program Files\Support Tools\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
The paths are:
C:\WINDOWS\
C:\WINDOWS\SYSTEM32\
C:\
C:\BAT\
C:\PROGRAM FILES\SUPPORT TOOLS\
So that if a filename only is entered at the Command Prompt the OS will search each path in the Path environment variable for the filename with any extension listed in PATHEXT starting with .COM and ending with .WSH. When the filename.ext is found the file will be opened by a program associated with that extension.. If you want to open a file named Jumper.bat and a file named Jumper.com exists the system will find Jumper.com (if its location is in the Path environment variable and only Jumper is entered at the command prompt) because .com appears before .bat in the Pathext environment variable (again in my setup).
Please post your Path and Pathext environment variables.
I have created a directory named Utility and copied MBRWiz to it. Then deleted MBRWiz from C:\ Here are results from entering Utility\mbrwiz /switch at the command prompt C:\>
First :
Utility\mbrwiz /result
MBRWiz - Version 1.52 for Windows XP/2K/PE November 13, 2003
Copyright (c) 2002-2003 Roger Layton http://mbr.bigr.net
ErrorLevel Result: 0
Second :
utility\mbrwiz /bootmenu
MBRWiz - Version 1.52 for Windows XP/2K/PE November 13, 2003
Copyright (c) 2002-2003 Roger Layton http://mbr.bigr.net
Disk: 0 Size= 76G
ID Type/Name Size Active Hidden Start Sector
-- --------- ---- ------ ------ ------------
0 07-NTFS 35G Yes No 63
Select the partition id to set active:
Invalid partition ID specified.
(I specified a partition which does not exist).
Third :
utility\mbrwiz /list
MBRWiz - Version 1.52 for Windows XP/2K/PE November 13, 2003
Copyright (c) 2002-2003 Roger Layton http://mbr.bigr.net
Disk: 0 Size= 76G
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 07-NTFS 35G Yes No 63 71,681,967
1 1 0F-EXTEND 41G No No 71,682,030 84,598,290
Disk: 1 Size= 76G
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 07-NTFS 20G Yes No 63 40,965,687
1 2 0F-EXTEND 55G No No 40,965,750 113,177,925
2 1 07-NTFS 1.0G No No 154,175,805 2,120,580
I cannot fault the way in which my system is opening MBRWiz, with switches, from various locations using different paths in the command shell.
I know, I know - take your little shortcut-to-system32-folder victory, shut up and say good-bye.
No, we should be able to sort this out between us, it's not rocket science.