Re: cygpath unable to translate the *nix path to an NTFS junction point

2011-01-17 Thread Corinna Vinschen
supported by the cygwin_conv_path function > and, subsequently, the cygpath utility. Therefore, such a change > should be restricted to this API. I'll have a look into adding > something along these lines. Try the latest developer snapshot from http://cygwin.com/snapshots/ It contains a

Re: cygpath unable to translate the *nix path to an NTFS junction point

2011-01-17 Thread Barry Kelly
Corinna Vinschen wrote: > On Jan 17 02:48, Barry Kelly wrote: > > > Also, if you don't treat juntions to the same drive as symlinks you have > the problem that you can easily create loops when you run a recursive > file search. This is true; though 'find' will detect such loops, and e.g. cmd /c

Re: cygpath unable to translate the *nix path to an NTFS junction point

2011-01-17 Thread Barry Kelly
aths is affected. > > This conversion is only supported by the cygwin_conv_path function > > and, subsequently, the cygpath utility. Therefore, such a change > > should be restricted to this API. I'll have a look into adding > > something along these lines. > > Try t

Re: cygpath not working properly when the windows path argument ends in backslash

2013-01-01 Thread Earnie Boyd
On Tue, Jan 1, 2013 at 7:54 PM, Aaron Schneider wrote: > cygpath.exe -a "c:\Users\All Users" > /cygdrive/c/Users/All Users > > cygpath.exe -a "c:\Users\All Users\" >> > > Probably this trailing backslash is interpreted by shell, what to do about > this? Not probably, it is exactly that. cygpath.e

Re: cygpath not working properly when the windows path argument ends in backslash

2013-01-02 Thread Aaron Schneider
On 02/01/2013 2:17, Earnie Boyd wrote: cygpath.exe -a "c:\Users\All Users\" Probably this trailing backslash is interpreted by shell, what to do about this? Not probably, it is exactly that. cygpath.exe -a "C:\\Users\\All Users\\" I was incorrectly quoting the path. This works: $ cygpat

RE: Re: cygpath hangings: A fix - bash patch enclosed -- bash mai ntainer please note!

2003-11-10 Thread Geoffrey Ruscoe
ne wants to try this. It would be good to confirm or deny >> > that this fixes the problem for everyone. >> > >> > Btw, maybe this has already been mentioned, but here is a simple >> > test script that demonstrates the problem when run from the console: >&

Re: pb w/ cygpath -w /dev/sdXY (was Re: Device names in /proc/mounts)

2011-08-07 Thread Corinna Vinschen
On Aug 7 01:53, Cyrille Lefevre wrote: > some times ago, someone (you?) modifies cygpath to handle /dev/sdXY paths. > > however, it seems there is a problem somewhere ? > > v2$ uname -a > CYGWIN_NT-6.0 pcvista 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin > > v2$ /us

Re: 1.7.10: cygpath -p "wide char path lists not yet supported" - cygcheck.out (0/1)

2012-02-08 Thread Corinna Vinschen
On Feb 8 12:22, Andrew Schulman wrote: > $ cygpath -u 'C:\WINDOWS' > /win/c/WINDOWS > > $ cygpath -pu 'C:\WINDOWS' > 15 [main] cygpath 5076 C:\cygwin\bin\cygpath.exe: *** fatal error - wide > char path lists not > yet supported > Hangup Tr

Re: 1.7.10: cygpath -p "wide char path lists not yet supported" - cygcheck.out (0/1)

2012-02-08 Thread Andrew Schulman
> On Feb 8 12:22, Andrew Schulman wrote: > > $ cygpath -u 'C:\WINDOWS' > > /win/c/WINDOWS > > > > $ cygpath -pu 'C:\WINDOWS' > > 15 [main] cygpath 5076 C:\cygwin\bin\cygpath.exe: *** fatal error - > > wide char path lists not &g

Re: 1.7.10: cygpath -p "wide char path lists not yet supported" - cygcheck.out (0/1)

2012-02-08 Thread Corinna Vinschen
On Feb 8 13:16, Andrew Schulman wrote: > > On Feb 8 12:22, Andrew Schulman wrote: > > > $ cygpath -u 'C:\WINDOWS' > > > /win/c/WINDOWS > > > > > > $ cygpath -pu 'C:\WINDOWS' > > > 15 [main] cygpath 5076 C:\cygwin\bin\c

Re: 1.7.10: cygpath -p "wide char path lists not yet supported" - cygcheck.out (0/1)

2012-02-08 Thread Andrew Schulman
> THe fact that you have a .new file shows that setup tried to replace > the file after reboot. However, the Win32 functionality, MoveFileEx > with MOVEFILE_DELAY_UNTIL_REBOOT | MOVEFILE_REPLACE_EXISTING flags > apparently doesn't work under all circumstances. See, for instance, > http://social.m

Strategy to process all tokens on a line through "cygpath -w", ignoring non-path tokens

2004-06-04 Thread Karr, David
I have a situation where I have a command line that I need to preprocess with "cygpath -w", changing all tokens which represent paths to convert them to their windows equivalent. All other tokens should pass through unchanged. Is there already a canned solution for this? What

Re: Strategy to process all tokens on a line through "cygpath -w", ignoring non-path tokens

2004-06-04 Thread Igor Pechtchanski
On Fri, 4 Jun 2004, Karr, David wrote: > I have a situation where I have a command line that I need to preprocess > with "cygpath -w", changing all tokens which represent paths to convert > them to their windows equivalent. All other tokens should pass through > unchange

RE: Strategy to process all tokens on a line through "cygpath -w" , ignoring non-path tokens

2004-06-09 Thread Buchbinder, Barry (NIH/NIAID)
if test -f "${Arg}" -o -d "${Arg}" then NewArgs="${NewArgs} '$(cygpath -w "${Arg}")'" else NewArgs="${NewArgs} '${Arg}'" fi done echo NewArgs="${NewArgs}" echo no

How to get the drive a file is on (was Re: /bin/pwd, cygpath -wa fail under native symlink)

2020-01-07 Thread Ernie Rael
I need to find out the drive on which some files reside. I need to make some links from a tmp dir to the files from a script. So I need to determine where they reside so I can figure out which tmp dir to use. Hard links, not running as administrator. I tried cygpath -wa and /bin/pwd. They

cygpath/cygheap problem - gone (was: Re: Would like to release 1.5.10 soon -- please try latest snapshot: Win95, "make" fixes)

2004-04-12 Thread Bas van Gompel
Op Fri, 26 Mar 2004 21:43:56 +0100 (MET) schreef ik in <[EMAIL PROTECTED]>: : Op Mon, 22 Mar 2004 14:19:48 -0500 : schreef Christopher Faylor : in <[EMAIL PROTECTED]>: [latest snapshot] :: Please try it out and report success or failure here. [various failures on cygpath in 1.5.

Meaningful Windows locations and cygpath (Was Re: Is it possible tocopy a file from anywhere to My Documents with bash cp?)

2002-10-23 Thread Igor Pechtchanski
Hmm... cygpath currently has options to print the windows Documents and Settings directory (-H), as well as the Start Menu/Programs directory (-P). Should we add more options for the other meaningful Windows directories (such as My Documents, for example)? What other special names should we be

RE: Meaningful Windows locations and cygpath (Was Re: Is it possibleto copy a file from anywhere to My Documents with bash cp?)

2002-10-23 Thread Igor Pechtchanski
The cygpath code uses SHGetSpecialFolderLocation... I guess I meant the correct constants for the special folders, so thanks for the link. I'll look to see which of those directories would be worth adding. Igor On Wed, 23 Oct 2002, Stephan Mueller wrote: > The API you want

Re: Meaningful Windows locations and cygpath (Was Re: Is it possible tocopy a file from anywhere to My Documents with bash cp?)

2002-10-23 Thread Doug VanLeuven
quot; "$USERPROFILE/My Documents/My Pictures" "$USERPROFILE/Start Menu" Each is individually redirectable to some other location but should still be accessable under "$USERPROFILE" I hope I'm not telling something already generally known. Igor Pechtchanski wrote

Re: Meaningful Windows locations and cygpath (Was Re: Is it possible tocopy a file from anywhere to My Documents with bash cp?)

2002-10-24 Thread Joshua Daniel Franklin
> P.S. As an aside, I've just discovered that the -A flag is ignored or > non-functional on Win98... I'll look into that. A good place to look would be: http://cygwin.com/cygwin-ug-net/using-utils.html#CYGPATH "On Win9x systems with only a single user, -A has no effect;

Re: Meaningful Windows locations and cygpath (Was Re: Is it possibleto copy a file from anywhere to My Documents with bash cp?)

2002-10-24 Thread Igor Pechtchanski
On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote: > > P.S. As an aside, I've just discovered that the -A flag is ignored or > > non-functional on Win98... I'll look into that. > > A good place to look would be: > > http://cygwin.com/cygwin-ug-net/using-utils.

Re: Meaningful Windows locations and cygpath (Was Re: Is it possibleto copy a file from anywhere to My Documents with bash cp?)

2002-10-24 Thread Igor Pechtchanski
On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote: > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > > On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote: > > > http://cygwin.com/cygwin-ug-net/using-utils.html#CYGPATH > > > > > > "On Win9x system

RE: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)

2002-10-23 Thread Stephan Mueller
more complete lists. It also mentions that for downlevel platforms, you may want SHGetSpecialFolderPath instead. This may turn out to be a fun one in terms of providing equivalent functionality in cygpath on all the Cygwin support platforms. stephan(); -Original Message- From: Igor Pechtch

Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)

2002-10-23 Thread Christopher Faylor
umber of CSIDL_* constants that you'd want to choose from, >as well as linking to more complete lists. It also mentions that for >downlevel platforms, you may want SHGetSpecialFolderPath instead. > >This may turn out to be a fun one in terms of providing equivalent >functionality i

Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)

2002-10-24 Thread Joshua Daniel Franklin
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote: > > http://cygwin.com/cygwin-ug-net/using-utils.html#CYGPATH > > > > "On Win9x systems with only a single user, -A has no effect; -D and -AD > > would hav

<    3   4   5   6   7   8