| View previous topic :: View next topic |
| Author |
Message |
Octagon Junior Member

Joined: 09 Jun 2010 Posts: 42
|
Posted: Wed Mar 21, 2012 6:51 am Post subject: Allow both explorer and Run on conflict |
|
|
I have a git.bat file on Path and a "git" folder located outside of the gitted tree. Thus, I just press "g"-"i"-"t"-Enter in TC and get my Git. When I erroneously typed git in the folder that contains the "git" folder, I have got the git folder opened in Explorer. This is an interesting corner case of a folder matching a command.
I guess it is necessary to allow to do both - open the Explorer or run the command. It is sufficient to open Explorer when there is the automatically added by TC "\" at the end of the command and run the command when the user have deleted the "\", but possibly there is some better way. |
|
| Back to top |
|
 |
Hacker Moderator


Joined: 06 Feb 2003 Posts: 9133 Location: Bratislava, Slovakia
|
Posted: Wed Mar 21, 2012 4:46 pm Post subject: |
|
|
Hello Octagon,
Well, this is what Windows does, TC just asks Windows tu run "git" and based on the current dir, some registry settings and environmental variables, different things might / will happen. Just try typing "fonts" and pressing Enter.
Roman _________________ Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um. |
|
| Back to top |
|
 |
Octagon Junior Member

Joined: 09 Jun 2010 Posts: 42
|
Posted: Sun Mar 25, 2012 5:53 am Post subject: |
|
|
| That is, if I see that TC appends "\" to the end of the command, I would better replace it with some executable suffix. This is a good enough way out, and yet another usage for the TC command line autocompletion |
|
| Back to top |
|
 |
|