[SOLVED] Configuring External Tools on Windows lazarus / 11-Options ---------------------------------------------------------------------- lucamar · 2019-06-19 19:03 On Windows (XP) I added an "External Tool" to the IDE with these settings:   Title: Open &Terminal   Program filename: cmd   Parameters:        /k       cd "$ProjPath()" When it didn't work I tried changing "Program filename" to * cmd.exe * c:\windows|\system32\cmd.exe It kept not working, so I changed "Parameters" to a single line:   /k cd "$ProjPath()", tested with all three of the previous "Program filename" and still doesn't work. All it does (in any incarnation) is take the focus away of Lazarus. Thinking it was something about cmd, I tried next adding "Open project folder" which calls   explorer.exe "$ProjPath()" but it didn't work either. Please, kind folks: what am I doing wrong? BTW, environment is Lazarus 2.0.2 under Windows XP-SP3. ---------------------------------------------------------------------- engkin · 2019-06-19 21:59 Check "Show Console" ---------------------------------------------------------------------- lucamar · 2019-06-20 08:44 Thanks, engkin, that was it! Had it been a tiger I'd be eaten by now About the second problem, with "explore"? Ahhhh ... I had the "Hide window" box ticked. Dunno if it's a "default" or just a "fault" (a "touchpad fault", I mean...) Anyway, lotsa thanks! ---------------------------------------------------------------------- engkin · 2019-06-20 16:09 I am glad that was not a tiger. I had fallen for that "mistake" before, twice!! ---------------------------------------------------------------------- dbannon · 2019-06-21 05:08 Hi engkin and lucamar, assuming you don't mind, I'll add that 'trick' to -  https://wiki.freepascal.org/IDE_tricks#Opening_a_Terminal_Windows_fro m_the_IDE Being able to pop open a terminal is so useful but I left the Windows section blank last time it came up as I don't do windows .... Davo ---------------------------------------------------------------------- engkin · 2019-06-21 10:24 Please do, and thank you! ---------------------------------------------------------------------- lucamar · 2019-06-21 12:01 Quote from: dbannon on June 21, 2019, 07:08:16 amHi engkin and lucamar, assuming you don't mind, I'll add that 'trick' to - [...] Sure, the more the merrier But make sure to add a note about the potential "Show console" pitfall ---------------------------------------------------------------------- dbannon · 2019-06-21 21:43 Yep, have done. I used engkin's image. I should also make sure its valid advice even on Win10 too...... Davo ---------------------------------------------------------------------- lucamar · 2019-06-22 00:02 Quote from: dbannon on June 21, 2019, 11:43:23 pmI should also make sure its valid advice even on Win10 too...... Someone with Windows 10 could try to see what is needed to launch PowerShell ... and bash! if the Linux thing is installed. Just saying