shortcuts to programs do not work in DOS box

Bugs and issues.
Post Reply
Message
Author
LuisM
Posts: 5
Joined: 17.02.2012, 14:00

shortcuts to programs do not work in DOS box

#1 Post by LuisM » 22.09.2020, 19:38

Hi,
I have created shortcuts for several executable files. I have put those shortcuts in my computer PATH. And I have added the extension for shortcuts (.LNK) to my computer PATHEXT system environmental variable. So, I can call those programs from command lines or from scripts, without adding their directories to my computer PATH.

The shortcuts work with the default Windows 10 x64 shell, CMD.exe. They do not work with the "DOS box" of "FreeCommander XE 2020 Build 810a 32-bit public". The error message says:
C:\Portable\x64\7z.lnk
The specified path does not exist.

Both the "DOS box" and CMD.exe have the same PATH and PATHEXT system environmental variables. I tried changing the "DOS box command specification" to "cmd.exe", but it did not help.

Thanks for a great program and best regards.

LuisM
Posts: 5
Joined: 17.02.2012, 14:00

Re: shortcuts to programs do not work in DOS box

#2 Post by LuisM » 27.04.2021, 18:13

Hi,
I just revisited this issue. Some shortcuts work and others don't. The shortcuts that don't work are pointing to console programs that are in "C:\Program Files". The space in the path is not the problem, because a shortcut pointing to a console program in a different path including spaces worked.

I installed the free App "Windows Terminal" for "Windows 10". Then, I set "Windows Terminal" default profile as "Command Prompt". Finally, I set FreeCommander's "DOS box command specification" as wt.exe . Now all the shortcuts to programs work.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 12 guests