On Tue, May 7, 2013 at 8:22 AM, Edward K. Ream <[email protected]> wrote:

> It seems like setting file associations isn't documented anywhere.

Here is a summary from the other thread.  To repeat, the goal is to
automate as much of this as possible for Leo 4.11a1

QQQQQ
Installing Leo on Windows

   1.

   Install Python from http://www.python.org/download/releases/
   2.

   Install either Tk or Qt, as described above.
   3.

   Install Leo. Get Leo’s .zip file from
   http://sourceforge.net/projects/leo/ You can unpack the .zip file
   anywhere, including Python’s *site-packages* folder, for example,
   C:\Python26\Lib\site-packages
   4.

   [optional] Generate/update a junction link from unpacked leo folder to
   ...\site-packages\leo:

   cd C:\Python26\Lib\site-packages\
   junction leo leo-4-6-2-final

    5.

   Create windows shortcut (edit paths as necessary):

   Target   =  C:\Python26\pythonw.exe
"C:\Python26\Lib\site-packages\leo\launchLeo.py"
   Start in =  D:\code

    6.

   Associate .leo filetype batch file:

   ftype LeoFile=C:\Python26\pythonw.exe
"C:\Python26\Lib\site-packages\leo\launchLeo.py" "%*"
   assoc .leo=LeoFile

    7.

   [optional] Put this leo.bat in %PATH%:

   @C:\Python26\python.exe "C:\Python26\Lib\site-packages\leo\launchLeo.py" %*


For more information see:

Junction links:
    http://technet.microsoft.com/en-gb/sysinternals/bb896768.aspx,
    http://groups.google.com/group/leo-editor/msg/30116f9193241dc4
ftype:
    http://ss64.com/nt/ftype.html
assoc:
    http://ss64.com/nt/assoc.html

 QQQQQ

HTH

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to