RE: How to create a windows link in script?

2002-02-19 Thread Joshua Franklin
> The Windows term for these things is 'shortcut'. > Perhaps you want to call your tool mkshortcut? > Yeah, it's longer, but it's less ambiguous than > mklink. There's already enough confusion between > linking executables from object modules and hard and > symbolic links in the file syste

Re: cygwin!

2002-02-19 Thread Joshua Franklin
DISCLAIMER: I am not a professional java developer >There is exactly no advantage to using CMD.exe to >initiate a Java SDK tool, or the Java interpreter of >JRE. I was under the impression that interacting with java's BufferedReader, etc. from within a cygwin bash shell was a Bad Idea because of

Re: How to create a windows link in script?

2002-02-19 Thread Joshua Franklin
> I would like to be able to create a .lnk file to a > batch file (and ideally associate an icon with it) > from a bash script on a Windows 2000 machine. I've written a program that does just this. It's a fully scriptable and can set icons. I'm hoping to get it included in cygwin sometime, but

Re: cywin!

2002-02-19 Thread Joshua Franklin
Well, a quick search of the cygwin mailing list about Java would have unfortunately told you that Java is not "cygwin-aware". I run javac from cmd.exe for this reason. You might try wrapping your Java program in a script like: CMD.EXE /c "javaprog.exe" Hope it helps. --- "pramod m." <[EMAIL PRO

Re: cygwin Digest 15 Feb 2002 08:06:45 -0000 Issue 1759

2002-02-15 Thread Joshua Franklin
Ralf, Is this presentation public domain? So it could be used in classroom networking classes at a uni to help explain socket programming? I think it could be helpful to others, as well. I think there are a few professors who read the list. > I'm sorry, I doesn't know that. You can find a > vi

RE: $HOME Directory Relocation

2002-02-06 Thread Joshua Franklin
> COMMON_DESKTOP=`regtool get > '\HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell > Folders\Common Desktop'` > ALLHOME=`cygpath -u "$COMMON_DESKTOP/../.."` Don't know if you care, but the latest version of cygpath has -D and -A options that will output the "All Users' Desktop" dire

Re: "RTFM'ing": readily accessible user documentation?

2002-01-17 Thread Joshua Franklin
> OK, I learned a few valuable lessons in the > couple of days last month it took me to > clue into install-info ("dir is a file?"), and > maybe this is more of a "pons asinorum" than > an "Instructions for opening are on the inside" > situation. > > That being said, I really would have appreciat

possible patch for cygwin.bat

2002-01-11 Thread Joshua Franklin
Here's a possible patch to include a couple rxvt lines REMed out. No changelog yet since I figure it needs comments. Anyone? --- desktop.cc-orig Fri Jan 11 10:38:12 2002 +++ desktop.cc Fri Jan 11 10:46:18 2002 @@ -199,6 +199,9 @@ make_cygwin_bat () backslash (concat (get_root_dir

Proposed Mailing List Page Reorg (was: RE: No stderr output)

2002-01-11 Thread Joshua Franklin
A while ago I was helping students that were new to bash and UNIX and I wrote a little guide in HTML. Late I put together "Cygwin-Lite" (Cygwin on a floppy) and added the guide. This was before the setup.exe changes that made a minimal install easy. I've stopped updating Cygwin-Lite but I think

Re: cygwin Digest 9 Jan 2002 12:29:19 -0000 Issue 1677

2002-01-09 Thread Joshua Franklin
Try this: start $(cygpath -w $(which notepad)) & or, just start c:\\winnt\\system32\\notepad.exe > leesb@leesb-kr ~ > $ which notepad > /cygdrive/c/WINNT/system32/notepad > > leesb@leesb-kr ~ > $ cygpath -w /cygdrive/c/WINNT/system32/notepad > c:\WINNT\system32\notepad > > leesb@leesb-kr ~

Re: announcements trapped by anti-viral filter

2002-01-07 Thread Joshua Franklin
larly puzzling why you would redirect > this here when there is > no guarantee that the original poster is even > subscribed to cygwin-apps. > > cgf > > On Thu, Jan 03, 2002 at 08:24:30PM -0800, Joshua > Franklin wrote: > >You might also try getting a free-mai