This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

chmod in cygwin




> Operator error. If "ab.exe" is in "C:/Program Files/Flow" then the POSIX path
>for that is "/cygdrive/c/Program Files/Flow/ab.exe".  So when you were told
>"No such file or directory", that was the truth.

That's right Larry,
But the message "No such file or directory" was for "ls -d /C/Program/flow" or
"ls -d /C/Program\ Files/flow"."Program" egal to "Program Files" (or not), that
isn't the problem.

"ab.exe" is a c program. It was compiling using gcc. And i want to run it in
Windows Xp

In DOS, "C:\Program Files\flow\ab.exe" give this "usage : ab inFile"

In cygwin, i have this one:
a@a-38a18ee0fd4~
$ chmod a+x /cygdrive/C/Program\ Files/flow/ab.exe
a@a-38a18ee0fd4~

but i believe that i should read at least the header written in this program.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]