NoClose Replacer.

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

NoClose Replacer 1.1 is ready now! Thanks to icfu for the ideas and testing.
Download (mirror)

The list of changes:
  1. The parameters CommandProcessorNT and CommandProcessor9x were added.
  2. When the explicit command interpreter is absent in the settings, the command cmd.exe /K or command.com /K is taken depending of the system (earlier it was always cmd.exe).
  3. Added possibility to assign different programs to hotkeys in addition to ones specified in the CommandProcessorNN settings.
  4. The documentation is converted into HTML-format.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

NoClose Replacer 1.2
Download (mirror)

The list of changes:
  1. Some bugs fixed that caused additional hotkeys not to work in Win9x systems.
  2. Added support for environment variables.
  3. Now the program can be started with empty command line (containing of spaces only). This can be useful for opening a console window without preliminary executing of any command.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Very nice additions, as usual.

Thank you! :)

Icfu
This account is for sale
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

Thanks Flint, good work. :D
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

Thank you.
This tiny utility is very usefull. :D
______________________
David Jorge
Personal License #117854
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Flint.

Just dropped in to join the crowd praising your little helper. :D
(... wondering why I did not start using it any earlier ... :roll: )

Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Post by *X-Byte »

Very nice :)

Now I wish Christian Ghisler would change Total Commander's behaviour of statically executing %windir%\noclose.pif
Instead this should be configurable in wincmd.ini

Code: Select all

NoCloseApplication = %COMMANDER_PATH%\Utils\NoClose.exe
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

I will be interested to know in which context (with wich application) people are using this utility?

Just for my curiosity and hopefully I will find a usage for this after reading some "reviews" if any.

Thanks in advance
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Post by *X-Byte »

I Primarily use it with console applications that just throw some output and then terminate, without any user interaction.

My favorites:
ipconfig
tracert
ping
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

gbo wrote:I will be interested to know in which context (with wich application) people are using this utility?
Whenever you type a command in the TC commandline box, TC will call noclose.pif in %windir% and execute it.
TC's noclose.pif has got the following drawbacks:
  • if you execute the command by pressing enter, a command box will pop up and close as soon as the command finishes. (cmd.exe will be used on NT and above, command.com on Win9x/ME)
  • if you execute the command by pressing shift+enter, a "DOS box" will pop up and stay open "inactive". You cannot use it for further commands.
  • even on NT and above noclose.pif will call command.com, no matter what you put in noclose.pif, when launched by shift+enter.
  • There is no way to tell TC to use an alternate command interpreter for noclose.pif.
NoCloseReplacer removes the last 3 limitations.
Very likely it can do much more, but I have not found out yet.

Karl
Last edited by karlchen on 2006-02-15, 16:59 UTC, edited 1 time in total.
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

@karlchen
Yes I understood that from the !ReadMe_eng.html file but my question was more about : Can someone gives examples so that I can see why it is so nice to do that inside TC.

@X-Byte
Thanks for the answer, but what is/are the advantage(s) to start those commands (ipconfig, tracert, ping) from TotalCommander ? Do you pass any parameters from TC ?

Sorry if my remarks are stupids but I just try to understand.

Anyway thank for the replies.
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, GBO.

There is nothing which you can do using the TC commandline which you cannot do by typing the same command in a cmd.exe window.

The difference is only whether you have to open cmd.exe yourself first or whether you let TC do this for you.
Ok, one more difference: you can copy any marked file/foldername to the TC commandline by pressing ctrl+enter, you cannot copy it to a cmd.exe window this way.

If you never use(d) the TC commandline, very likely NoCloseReplacer will not make your life any easier.

Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

Hi Karl,

OK I see, thank you for throwing some light on this subject.
If you never use(d) the TC commandline, very likely NoCloseReplacer will not make your life any easier.
I must admit that I don't often use the TC commandline the only exceptions are :

In conjunction with some FS plugins
(eg Secure FTP plugin -> cd \\\Secure FTP connections\Neos\apache\html\)

and

To reach some environment variables (eg cd %$FONTS%)
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Good evening, Gil.
I don't often use the TC commandline the only exceptions are :
[...] cd \\\Secure FTP connections\Neos\apache\html\
[...] cd %$FONTS%
These are 2 examples where using the TC commandline will definitely not invoke noclose.pif.
So NoCloseReplacer will not mean much to you. Never mind.

The praise goes to Flint because his noclose.pif - in fact an exe and not a pif at all - is more flexible than the genuine TC provided pif-file (and it will not launch the 16bit-DOS-emulator on NT-based systems).

Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
st
Junior Member
Junior Member
Posts: 84
Joined: 2005-05-30, 01:39 UTC
Location: Beijing
Contact:

isn't noclose.pif system's?

Post by *st »

(i really don't hav the patient 2 read the replies here)
is it safe to replace a system's file?
Post Reply