devkitPro creates Windows Command failures
Posted: Thu Jun 17, 2010 2:37 pm
The devkitPro installer automatically changed my Windows path to the following: PATH=c:\devkitPro\msys\bin;C:\windows\system32;etc
Problem is that c:\devkitPro\msys\bin contains replacements for all of the standard DOS shell commands in C:\windows\system32 and now in my Windows Command prompt and all of my BAT files these commands are used instead and cause my BATS to fail. For Example the FIND command works differently in msys and so my BATS that use FIND to filter data now fail.
I think I have fixed this by removing this addition from the default path using "Control Panel/System/Advanced System Settings/Environment Variable/System Variables/path/Edit" and changing the devkitPro\msys\msys.bat to alter the path temporarily before calling devkitPro\msys.
Is there a better way of handling this? Why doesn't devkitPro set up its own local path when MSys is started, so it doesn't replace the existing Windows Commands when running the Windows Command Prompt? What is it that I don't know?
PS: I only installed PPC and I was led to believe it should also have added c:\devkitPro\devkitPPC\bin; to the path, but it did not. Perhaps someone can comment on that as well.
I am on W7-64 bit, and used devkitPPC to successfully compile WIIMC. Thanks for any Help IA.
Problem is that c:\devkitPro\msys\bin contains replacements for all of the standard DOS shell commands in C:\windows\system32 and now in my Windows Command prompt and all of my BAT files these commands are used instead and cause my BATS to fail. For Example the FIND command works differently in msys and so my BATS that use FIND to filter data now fail.
I think I have fixed this by removing this addition from the default path using "Control Panel/System/Advanced System Settings/Environment Variable/System Variables/path/Edit" and changing the devkitPro\msys\msys.bat to alter the path temporarily before calling devkitPro\msys.
Is there a better way of handling this? Why doesn't devkitPro set up its own local path when MSys is started, so it doesn't replace the existing Windows Commands when running the Windows Command Prompt? What is it that I don't know?
PS: I only installed PPC and I was led to believe it should also have added c:\devkitPro\devkitPPC\bin; to the path, but it did not. Perhaps someone can comment on that as well.
I am on W7-64 bit, and used devkitPPC to successfully compile WIIMC. Thanks for any Help IA.