public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* windows explorer links in cygwin /bin
@ 2021-09-20  9:45 L A Walsh
  2021-09-20 11:18 ` Ken Brown
  0 siblings, 1 reply; 2+ messages in thread
From: L A Walsh @ 2021-09-20  9:45 UTC (permalink / raw)
  To: cygwin

I have about 99 ".lnk" files in my /bin dir.

What are these for?

They appear to be explorer links to various things, to list
some files w/o the .lnk extension: 
( /bin/ls -T 0 -x -w 96 |sed -r 's/\.lnk//g' )
  

Console2          a2ping             a5toa4            adhocfilelist
amstex            arara              arlatex           authorindex
bibexport         bundledoc          cachepic          chkweb
cron_diagnose.sh  ctanify            ctanupload        de-macro
dtxgen            dviasm             dvigif            dvilj6

So why are these in the /bin directory since they don't
work on the command line (like in BASH).

They do work in explorer, but most of them are console utilities.

So why would ".lnk" files be used in cygwin packages since they don't
work under cygwin, but are 'explorer' links.  Note, these are not
hard nor soft links as one might create with 'ln [-s]'.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: windows explorer links in cygwin /bin
  2021-09-20  9:45 windows explorer links in cygwin /bin L A Walsh
@ 2021-09-20 11:18 ` Ken Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Brown @ 2021-09-20 11:18 UTC (permalink / raw)
  To: cygwin

On 9/20/2021 5:45 AM, L A Walsh wrote:
> I have about 99 ".lnk" files in my /bin dir.
> 
> What are these for?

They are shortcut style symlinks.  See

   https://cygwin.com/cygwin-ug-net/using.html#pathnames-symlinks

> Console2          a2ping             a5toa4            adhocfilelist
> amstex            arara              arlatex           authorindex
> bibexport         bundledoc          cachepic          chkweb
> cron_diagnose.sh  ctanify            ctanupload        de-macro
> dtxgen            dviasm             dvigif            dvilj6

Most of these come from TeX Live.  I tried searching for some of the others 
(such as Console2) at

   https://cygwin.com/packages/

and they are not in the current Cygwin distro.  I don't know why you still have 
them.

> So why are these in the /bin directory since they don't
> work on the command line (like in BASH).

Cygwin should recognize them as symlinks.

> So why would ".lnk" files be used in cygwin packages since they don't
> work under cygwin, but are 'explorer' links.

What happens if you type 'amstex --help' in a Cygwin shell?

Ken

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-20 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20  9:45 windows explorer links in cygwin /bin L A Walsh
2021-09-20 11:18 ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).