Questions tagged [cygpath]

For issues relating to the cygpath path converter utility.

The cygpath program is a utility to convert and native filenames to -style pathnames and vice versa.

28 questions
1
vote
1 answer

Can cygwin ls show ACLs without providing the DOS path to file?

The commands cd c:/p4 ls -ld . c:/p4 /cygdrive/c/p4 shows d---------+ 1 jgunter Domain Users 0 Apr 27 18:41 . d---------+ 1 jgunter Domain Users ? 0 Apr 27 18:41 /cygdrive/c/p4 drwxr-xr-x 1 jgunter Domain Users ? 0 Apr 27…
Jay Gunter
  • 13
  • 3
1
vote
1 answer

pig installation in windows using cygwin

I am using cygwin in windows xp to install pig-0.11.1.I extracted and placed my pig_home folder in user directory of cygwin.When i try commanding in prompt ./pig help, it shows me the following error. which: no hadoop in…
user2082765
  • 41
  • 1
  • 1
  • 4
1
vote
2 answers

Open Cygwin on a path passed as the first parameter to bash.exe

I'm going mad trying to achieve this. I read a lot of questions over Stack Overflow, but they didn't work. I'm trying to open a tab on console2 that opens Cygwin on the path passed as a parameter to it. For cmd.exe, is quite easy: cmd.exe %1 For…
Francesco Belladonna
  • 10,661
  • 12
  • 72
  • 141
0
votes
2 answers

cannot pass dos path and to preserve it in cygwin command line

I have problems passign windows path to an non-Cygwin application in Cygwin app 'd:\path\file' That application gives an error of /d:/path/file does not exist. How stop Cygwin with modifying the input argument in this case? It prepends / to the…
Aftershock
  • 4,598
  • 3
  • 47
  • 59
0
votes
0 answers

Cygpath IF Error Handling

How do you trap / test the return from cygpath in a script. That is, if you want to convert a windows directory but you don't know if it exists yet, you can't use -d on it (since you don't know if it exists and it's not in a windows format).…
GaryFurash
  • 631
  • 6
  • 8
0
votes
2 answers

How to get rid of cygwin's path prefix

In cygwin, in order to remove /cydrive prefix in the paths, I did a mount like this - mount -c / after restating cygwin, when I say pwd - it gives me something like - /c/Work/shared/imply-1.1.1 [actually per windows c:\Work\shared\imply-1.1.1] and…
jagamot
  • 4,938
  • 12
  • 55
  • 96
0
votes
1 answer

How to get cygpath to take input from file

I apologize in advance for this question, but I am really stuck right now, and I'm just praying that someone out there can help me. I have a series of c files I need to inspect one at a time in about 100 subdirectories, each named balance.d,…
Ben I.
  • 963
  • 1
  • 11
  • 27
0
votes
1 answer

CYGPATH does not get invoked from makefile

I am working on an automatic build and continuous integration environment for embedded C codebase. I am using Keil's Real View Compiler (windows executable) as the cross compiler, and am building the entire continuous integration environment using…
adkaizer7
  • 41
  • 3
0
votes
2 answers

Cygpath troubleshooting with Jenkins and Windows slave

I have a remote Windows computer with Cygwin 1.7.35 installed on it and we use it as a slave for CI testing with Jenkins. I created a Jenkins job to build a Maven project (after cloning from repository). The Jenkins contains Cygpath 1.5 plugin and…
Pe Ka
  • 1
  • 5
0
votes
1 answer

Windows batches in Cygwin with spaces in path and arguments

Consider this dummy Windows batch script: echo %1 Supposed just to echo to the terminal its first argument. Assume its path in resp. Windows, Cygwin style is: c:\test\win.bat /cygdrive/c/test/win.bat From Cygwin bash: $ c:\test\win.bat …
antonio
  • 9,285
  • 10
  • 59
  • 113
0
votes
1 answer

maven, ant, or gradle plugin to execute cygwin cygpath?

Does anyone know of a maven, ant, or gradle plugin that supports invoking cygpath? The cygpath utilities knows how to convert Windows filesystem paths (c:\dev) to cygwin/unix style file paths (/cygdrive/c/dev). I've searched the internet but didn't…
buzz3791
  • 1,594
  • 2
  • 18
  • 35
0
votes
2 answers

Jenkins, cygpath plugin does not convert paths

I'm using Jenkins with Cygpath plugin installed. I have some scripts that is working in Cygwin bash without problems #!/bin/bash pwd SCRIPTFILENAME=$(readlink -f $0) SCRIPTPATH=`dirname $SCRIPTFILENAME` cd $SCRIPTPATH (python…
0
votes
1 answer

Cygwin - export vs. SET

I have written a little bash script to switch the JAVA Version in Cygwin: http://pjsdev.blogspot.de/2013/02/cygwin-switching-java-version.html As you can see I am using "export" to set the ENV & PATH. This works fine in command line tools running…
Jens Peters
  • 1,895
  • 1
  • 19
  • 30
1
2