delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/30/13:25:54

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <20020130182545.9228.qmail@web20005.mail.yahoo.com>
Date: Wed, 30 Jan 2002 10:25:45 -0800 (PST)
From: Joshua Franklin <joshuadfranklin AT yahoo DOT com>
Subject: setup.exe lnk generation
To: cygwin-apps AT cygwin DOT com
MIME-Version: 1.0

FWIW, I've been working on a cygwin link generator
that allows more options than ln (such as links to 
URLs, arguments, changing the icon, etc.). This 
would allow the removal of all the link generation
stuff in desktop.cc from setup.exe.

Right now the program looks like:
Usage mklink.exe [OPTION]... TARGET 
NOTE: All filename arguments must be in unix (POSIX)
format
  -a|--arguments=ARGS   use arguments ARGS 
  -h|--help             output usage information and
exit
  -i|--icon             icon file for link to use
  -j|--iconoffset       offset of icon in icon file
(default is 0)
  -n|--name             name for link (defaults to
TARGET)
  -v|--version          output version information and
exit
  -A|--allusers         use 'All Users' instead of
current user for -D,-P
  -D|--desktop          create link relative to
'Desktop' directory
  -P|--smprograms       create link relative to Start
Menu 'Programs' directory

Everything except the last three options works great. 
I'm fighting with getopt about these and can't seem to
find any good documentation about what the :'s or the
last line of the getopt_long struct mean. But I should
be able to complete it soon.



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019