This is the mail archive of the
mailing list for the Cygwin project.
Re: About cygstart in Cygwin64
- From: Andrew DeFaria <Andrew at DeFaria dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 26 Aug 2014 10:56:59 -0700
- Subject: Re: About cygstart in Cygwin64
- Authentication-results: sourceware.org; auth=none
- References: <53FC6064 dot 4090305 at alice dot it>
On 8/26/2014 3:24 AM, Angelo Graziosi wrote:
When I had WinXP32 and Cygwin32, I defined an alias (in .bashrc) like this
alias cygstart='TEMP=/home/$USER/Temp cygstart'
where /home/$USER/Temp was a symlink to the user native Temp directory
(/cygdrive/c/Documents and Setting/Local/Temp, if I remember..)
Here's what I do - use Cygwin's tmp (i.e. /tmp in Cygwin and
C:\Cygwin\tmp for Windows). Then change the TEMP and TMP environment
variables to point to C:\Cygwin\tmp. Then simply think of "temp" as /tmp.
The reasons for that alias with TEMP=/home.. in front, were that,
opening documents with Windows native applications (for example, a PDF
with AR), all temporary files that those applications created were saved
in the Windows native Temp directory. And all this worked..
Now with Win7U and Cygwin64 I defined a similar alias, being
/home/$USER/Temp the symlink
/home/$USER/Temp --> /cygdrive/c/$USER/AppData/Local/Temp
In this case, all temporary files created by Windows native
applications, started with cygstart, go in /tmp Cygwin directory.., i.e.
the definition "TEMP=/home/$USER/Temp" in front of cygstart command is
This is a minor issue but I wonder if there is a way to avoid it.
Any self respecting Windows app should honor either $TMP or $TEMP. Non
self respecting Windows apps should be uninstalled ;-)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple