Changeset 1859


Ignore:
Timestamp:
May 18, 2015 10:15:43 AM (7 years ago)
Author:
toby
Message:

fix for windows files with spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeBat.py

    r1858 r1859  
    2222@echo ========================================================================
    2323@
    24 {:s} {:s} %1
     24{:s} {:s} "%~1"
    2525@REM To keep the window from disappearing with any error messages
    2626pause
     
    5656winreg.SetValue(iconkey, None, winreg.REG_SZ, G2icon)
    5757openkey = winreg.CreateKey(gpxkey, r'shell\open\command')
    58 winreg.SetValue(openkey, None, winreg.REG_SZ, G2bat+" %1")
     58winreg.SetValue(openkey, None, winreg.REG_SZ, G2bat+' "%1"')
    5959winreg.CloseKey(iconkey)
    6060winreg.CloseKey(openkey)
Note: See TracChangeset for help on using the changeset viewer.