Victor Ishere
Victor Ishere

Reputation: 39

not able to start application because of special character in bat

I am trying to start a exe from batch file but not able to start exe ...

Here is bat

@echo off
start "C:\Program Files\Marketmaker\Marketmaker CFD-FX Français\MM5\iidownloader.exe"
@pause

Thanks in advance.

Upvotes: 1

Views: 172

Answers (1)

qbert220
qbert220

Reputation: 11556

You could try using the short name:

@echo off
start "C:\Program Files\Marketmaker\Market~1\MM5\iidownloader.exe"
@pause

To check the correct short name, open a dos prompt and type:

dir /x "C:\Program Files\Marketmaker"

Upvotes: 1

Related Questions