|
From: Earnie B. <ea...@us...> - 2012-04-02 13:10:29
|
On Mon, Apr 2, 2012 at 4:12 AM, nikola bozovic wrote: > > There was 2 replays saying some solutions: > 1.replace "notepad" with "start notepad" - it aint work, when i write this > line in msys.bat Do not modify msys.bat, you will be upset when you update MSYS. The ``start notepad'' is for the command line. The ``alias nodepad='start notepad''' is to be put into your ~/.profile file. The start command is itself a UNIX script file ``cat /bin/start'' so executing it from within msys.bat isn't going to work. > it only opens another terminal window with no mingw loaded, > and notepad is not executed. > 2.to edit .profile.d direktory, is mb good solution if i realy dont find any > other. > > --THANK YOU AGAIN > > BUT, what i need actualy? > i want to set the windows to open a terminal window with mingw (msys.bat) > loaded - UNIX like terminal - colored$ > when i click on any text file. My plan is to pass he arguments from windows > to msys.bat, > and then fom msys.bat to pass the command including folowing arguments (%1) I don't get how notepad comes into play here. What do you want the modified batch file to do? Again, you do not want to modify msys.bat since you will be upset when you update MSYS. A copy of it maybe but then you'll need to compare any future releases for modifications. -- Earnie -- https://sites.google.com/site/earnieboyd |