Copied from a previous thread ...
I think there is a problem with how Heidi is handling parameters when I try to load an .sql file. I have 2 files on my desktop. 'Lookup MCI.sql' & 'fixed.sql'
When I double click on the 'Lookup MCI.sql' file I get an error dialog that says 'Could not load file(s): MCI.sql. It's leaving off the part of the filename before the space character.
I opened Heidi and loaded the file manually (without issue) and saved it as 'fixed.sql', and then exited Heidi. I tried double clicking on 'fixed.sql' and the error dialog says "Could not load file(s): Settings\Administrator\Desktop\fixed.sql". The full path for the file is 'C:\Documents and Settings\Administrator\Desktop\fixed.sql' again it seems to be breaking up at the space character
to which the reply was ....
Use doublequotes for file names on the command line, not single quotes.
This is NOT a shortcut, it is a file on the desktop the quotes were only in my post to distinguish the file name. I'm double clicking on a file who's extension is associated with Heidi
ver 8.1.0.4545 not handling file associations correctly
Code modification/commit
a19223d
from ansgar.becker,
11 years ago,
revision 8.1.0.4583
Passing filenames per command line: Remove found match from input string after having found a quoted filename, so the second call to GetFileNames does not find some incomplete filename due to whitespaces in its name. See http://www.heidisql.com/forum.php?t=13743
Please login to leave a reply, or register at first.