Menu

#192 Windows File/Folder Names

None
open
nobody
None
1
2017-08-20
2016-01-01
Len Suckle
No

In Windows (10) doubleclicking on design file within folder whose name contains a space does not open the file. Receive "file not found" error message.

Discussion

  • Mr. Hobbybyte

    Mr. Hobbybyte - 2016-11-01

    Its a gererally Problem with all Windows Versions
    Simple Solution and fix :

    The Windows Shell Extension for edit .dsn is aktually
    TinyCAD %1
    and has to be changed to
    TinyCAD "%1"
    for a proper handling of special caracters in File/Pathnames.
    same for Print

    MfG

     
  • Mr. Hobbybyte

    Mr. Hobbybyte - 2016-11-01

    The Registry.cpp shoud be changed to something like this :

    // Associate the file type with a program
        oRegKey.Create(HKEY_CLASSES_ROOT, sTitle + "\\shell\\open\\command");
        oRegKey.SetValue(HKEY_CLASSES_ROOT, sTitle + "\\shell\\open\\command", sProgram + " \"%1\"");
    
        // Associate the file with a program for printing
        oRegKey.Create(HKEY_CLASSES_ROOT, sTitle + "\\shell\\print\\command");
        oRegKey.SetValue(HKEY_CLASSES_ROOT, sTitle + "\\shell\\print\\command", sProgram + " /p \"%1\"");
    
     
  • John Will

    John Will - 2017-08-20

    Has this been addressed? Can I fix this with a registry edit?

     

Log in to post a comment.