Empty console window

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Stefan von Allmen

Empty console window

Post by Stefan von Allmen »

When I lunch a Windows application from the Command Line toolbar, starting it with ALT-ENTER I get an empty console window, which stays there until the Windows application ends. I can close it manually without any adverse consequences.

Is it possible to get rid of this window by default?


My Environment:
WinXP SP2
Salamander settings which I thought might be relevant:
- 'Close shell window after command execution (in Command Line)' not selected
- 'Open Files through salopen.exe' not selected
Changing these does not change the misbehaviour.

I use the standard cmd.exe as the console shell (denoted by %COMSPEC%)
I did not modify AUTOEXEC.NT or CONFIG.NT
AUTOEXEC.BAT and CONFIG.SYS do exist in the root, but are both 0 bytes in size.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post by Petr Solin »

Salamander executes COMSPEC with parameters /C (if shell window should be closed after execution) or /K (if shell window should not be closed after execution) followed by command line content.

I don't know why cmd.exe does not close this empty window and also I don't see any option to change this behaviour.

We can solve this if we analyze command line to find out if command is for shell (it needs to be run in cmd.exe) or if it is application (it can be run without cmd.exe). I have added this to our to-do list.
Post Reply