Better integration with 4NT (4DOS)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
jdmarch
Member
Member
Posts: 161
Joined: 2003-03-12, 02:34 UTC
Location: Austin, Texas, USA

Better integration with 4NT (4DOS)

Post by *jdmarch »

I am glad that TC permits me to execute 4NT (= 4DOS for Win2K) batch files, by respecting COMSPEC, but I would also appreciate it if it could pass 4NT internal commands (including user-defined aliases) to 4NT.

So I would like an option whereby if TC does not recognize a command, it passes it to the command processor rather than giving an error message.

Also, apparently TC does not consult the PATH variable when searching for executable files. Is this true, and is there any way to configure TC's executable search path?

Thanks,
Jonathan
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC cannot know all commands of 4NT. But you can do the following:
- go to the Windows dir and press Alt+Enter on noclose.pif
- change command.com to 4nt
- now you can start the command with Shift+Enter to execute it in 4nt
Also, apparently TC does not consult the PATH variable when searching for executable files. Is this true, and is there any way to configure TC's executable search path?
Windows itself should do this when ShellExecute is used to start a program - at least according to the docs. However, you need to restart TC after changing the PATH because TC has its own environment.
Author of Total Commander
https://www.ghisler.com
User avatar
jdmarch
Member
Member
Posts: 161
Joined: 2003-03-12, 02:34 UTC
Location: Austin, Texas, USA

Post by *jdmarch »

- go to the Windows dir and press Alt+Enter on noclose.pif
- change command.com to 4nt
Thanks! That's very helpful.
Windows itself should do this when ShellExecute is used to start a program
Hmm, I'll have to do some experimenting.

Jonathan
Post Reply