Menu

#14 Launchy fails to launch files on network shares

open
nobody
None
5
2008-08-03
2008-08-03
No

Currently Launchy can't launch things on network shares, eg, \\Server\whatever.exe, due to the fact that it replaces the \\ with //, and ShellExecuteEx doesn't like that. The attached patch just changes the /'s back to \'s right before ShellExecuteEx is called.

Discussion

  • kongomongo

    kongomongo - 2009-09-02

    I'd second that!

    Please incorporate the patch!

     
  • kongomongo

    kongomongo - 2009-12-03

    Any thoughts on this one?

    Please make UNC paths work! I am working in a team environment and we have the sysinternals suite sitting on \\serv\tools\

    I can index them with Launchy but can't run them!

    Please fix this!

     
  • Paul Accisano

    Paul Accisano - 2010-01-29

    I have updated the patch so that it is fits with the latest revision. The new patch simply calls QDir::toNativeSeparators on the file path, which fixes the problem. Please include this, as this is a very simple and easily fixed bug.

     
  • Paul Accisano

    Paul Accisano - 2010-01-29

    Whoops, the patch broke Weby. I updated the patch again to check for file existence first, and only use toNativeSeparators if the file or directory exists. This fixes the bug and doesn't break anything, as far as I can tell.

     
  • Paul Accisano

    Paul Accisano - 2010-01-29
     
  • kongomongo

    kongomongo - 2010-02-04

    Thanks a lot for your patches masamunexgp, however it does not help me because I cant compile my own Launchy. I have tried downloading Express Edition and compiling, but the .exe that is generated only works on the build PC, not on others :(

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.