You are here

draw.io 18.1.3 - "DrawioPortable.exe <file>" doesn't open the file

3 posts / 0 new
Last post
gbrossi
Offline
Last seen: 3 months 1 week ago
Joined: 2020-01-15 08:21
draw.io 18.1.3 - "DrawioPortable.exe <file>" doesn't open the file

Running "DrawioPortable.exe " doesn't open the , it is always starting with a new empty file as if no argument is passed.

Apparently "DrawioPortable.exe" command line options are ignored.

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 6 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Passed In

As always, everything you pass to DrawioPortable.exe is passed unaltered to draw.io.exe after any command line options. In this specific case, the included command line option of --user-data-dir="%PAL:DataDir%\Drawio". Most likely, the app itself can't handle files passed after a command line option like that. Either that or you need to pass it in quotes.

Sometimes, the impossible can become possible, if you're awesome!

gbrossi
Offline
Last seen: 3 months 1 week ago
Joined: 2020-01-15 08:21
Hi John, thanks a lot for

Hi John, thanks a lot for your quickly reply! And you are right! draw.io.exe cannot open the file too.

I'm trying to reproduce the association of the .drawio extension. When I install Draw.IO (Windows Installer version), I have:

assoc => .drawio=draw.io Diagram
ftype => draw.io Diagram=C:\Program Files\draw.io\draw.io.exe "%1"

When I change to DrawioPortable.exe, the file is not opened anymore:

assoc => .drawio=draw.io Diagram
ftype => draw.io Diagram="C:\bin\PortableApps\DrawioPortable\DrawioPortable.exe" "%1"

Log in or register to post comments