Run Picard through start /d cmd


I launch programs to work with MB all at once through bat file. Syntax is:
start /d “path” exe-file

The problem is that picard doesnt launch correctly through this syntax. It launches, but console window stays open and if to close it manually, picard closes as well.

start does open the command prompt windows. From the docs:

Starts a separate Command Prompt window to run a specified program or command.

Any specific reason you use start? Why not call picard.exe directly without the command prompt?

If i execute:

@ECHO off
“e:\programs\MusicBrainz Picard\picard.exe”

Then the same thing happens - console window say opened.

I assume @outsidecontext meant:

Directly call
e:\programs\MusicBrainz Picard\picard.exe
from your Windows Explorer or from a manually created shortcut to this location.

There is no console window if you start it this way (but then you can’t see any debug information anymore if you still use /d).

1 Like

Well, i need to launch several programs at once, so thats why i used batch file. I suppose i cant run them using shortcut?

You can call it this way:

  1. Create a shortcut, in this example it is named picard.exe.lnk and saved in the same directory as picard.exe
  2. Use this syntax in your batch cmd file:
    start "" "e:\programs\MusicBrainz Picard\picard.exe.lnk"

But again, without console window you can’t see the debug information from the command line parameter /d


This way it worked, thank you. :slight_smile:

1 Like

Just to give some background: Picard attempts to attach to the console if started from there, so log output is visible there (which can be extremely helpful when debugging crashes).