cm_executedos in TC 9 beta 14 does not work
Moderators: Hacker, petermad, Stefan2, white
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
-
- Junior Member
- Posts: 11
- Joined: 2016-09-19, 13:43 UTC
@ghisler: As quoted above, did not work in tc commandline. Switched to using cmd instead of cm_executedos as a workaround. No need to dive deeper in this issue as it's obviously a configuration problem on my side.petermad wrote:2ghisler(Author)It sems that holst@wmd.de already did that:How about running them from the TC command line at the bottom?Calling "cm_executedos" in the commandline of TC leads to a dialogue box.
Header: Total Commander
Text: Nicht genug Speicher (german for "not enough memory")noclose.exe and noclose64.exe exists and run without problems.
Running them from TC via double click or in tc commandline opens
a command prompt window.
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's not what I meant!
I asked whether running noclose.exe from the command line worked or not. You already said that cm_executedos didn't work from the command line.
I asked whether running noclose.exe from the command line worked or not. You already said that cm_executedos didn't work from the command line.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
noclose.exe and noclose64.exe exists and run without problems.
Running them from TC via double click or in tc commandline opens
a command prompt window.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 11
- Joined: 2016-09-19, 13:43 UTC
1. cmd.exeghisler(Author) wrote:That's not what I meant!
I asked whether running noclose.exe from the command line worked or not. You already said that cm_executedos didn't work from the command line.
Opening cmd.exe from windows startmenu.
Switching via cd to c:\totalcmd
Executing noclose.exe and noclose64.exe
After hitting "enter" nothing happens, except a newline in the cmd window
What should happen?
2. executing "noclose.exe" and "noclose64.exe" from the tc commandline
This opens a windows commandline window in the correct directory (c:\totalcmd). c:\totalcmd is not in %PATH%.
No "cmd.bat" or "cmd.cmd" on the whole system, not in %PATH% and not in any other location on the local partitions.
got the same problem.
environment:
windows 7 SP1 64 bit
9.0a 64bit
ComSpec: c:\windows\system32\cmd.exe
no cmd.cmd or cmd.bat
noclose64.exe from TC commandline works right.
guess some configuration from c driver cause this problem, because another computer(same env) doesn't have this problem.
And uninstall, ccleaner register, install 8.52a 64 bit still the same which doesn't in the same computer about one month back.
maybe reinstall the system is the final solution.
environment:
windows 7 SP1 64 bit
9.0a 64bit
ComSpec: c:\windows\system32\cmd.exe
no cmd.cmd or cmd.bat
noclose64.exe from TC commandline works right.
guess some configuration from c driver cause this problem, because another computer(same env) doesn't have this problem.
And uninstall, ccleaner register, install 8.52a 64 bit still the same which doesn't in the same computer about one month back.
maybe reinstall the system is the final solution.

- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
What does
set comspec
show? It sounds like the 32-bit version of the command processsor referenced by this option is not found.
set comspec
show? It sounds like the 32-bit version of the command processsor referenced by this option is not found.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 11
- Joined: 2016-09-19, 13:43 UTC
to be sure that you have COMSPEC variable well defined inside TC process, in the command field of a test button:holst@wmd.de wrote:For me, it's:ghisler(Author) wrote:What does
set comspec
show? It sounds like the 32-bit version of the command processsor referenced by this option is not found.
c:\>set comspec
COMSPEC=C:\Windows\System32\cmd.exe
1) just put %COMSPEC%
2) cmd /k "echo %COMSPEC%"
Test each version. If you have an error or not COMSPEC pointing to your shell, probably a wdx plugin like autostart or the process from wich you launched TC did an unexpected modification...
mine works right now.nsp wrote:to be sure that you have COMSPEC variable well defined inside TC process, in the command field of a test button:holst@wmd.de wrote:For me, it's:ghisler(Author) wrote:What does
set comspec
show? It sounds like the 32-bit version of the command processsor referenced by this option is not found.
c:\>set comspec
COMSPEC=C:\Windows\System32\cmd.exe
1) just put %COMSPEC%
2) cmd /k "echo %COMSPEC%"
Test each version. If you have an error or not COMSPEC pointing to your shell, probably a wdx plugin like autostart or the process from wich you launched TC did an unexpected modification...
like before, uninstall, cclean registry, install and suddenly it works!

-
- Junior Member
- Posts: 11
- Joined: 2016-09-19, 13:43 UTC
error still present
I don't waste any more time on this, using a workaround for calling cmd directly and in the long run using powershell.
By the way: is there something similar to cm_executedos for powershell?
By the way: is there something similar to cm_executedos for powershell?

- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
32-bit and 64-bit programs see different system32 folders:COMSPEC=C:\Windows\System32\cmd.exe
32-bit sees SysWow64
64-bit sees SysNative
Make sure that both contain cmd.exe.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com