TransWikia.com

Why cannot I specify a full path to executable to start command in cmd?

Super User Asked on December 18, 2021

I can launch exe by specifying its path:
c:> "c:program files (x86)Microsoft Visual Studio2019CommunityCommon7IDEdevenv.exe" , now trying doing the same with start:

c:> start /separate  "c:program files (x86)Microsoft Visual Studio2019CommunityCommon7IDEdevenv.exe" 

will launch only another instance of cmd.exe, but not visual studio. Does anyone know why?

One Answer

If the first argument to start is quoted, it is interpreted as the title of the window. So you need:

start /separate "" "c:program files (x86)Microsoft Visual Studio2019CommunityCommon7IDEdevenv.exe" 

As Steve Rindsberg's comment indicates, I don't think you meant /separate. It will likely be ignored on modern platforms.

Answered by David Schwartz on December 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP