Making Unix like paths work when using java program from Cygwin

Earnie Boyd earnie@users.sourceforge.net
Fri May 18 14:58:00 GMT 2012


On Fri, May 18, 2012 at 9:22 AM, Csaba Raduly wrote:
> On Fri, May 18, 2012 at 1:51 PM, Earnie Boyd  wrote:
>> On Fri, May 18, 2012 at 4:56 AM, himoundary wrote:
>>>
>>> I am working in a team where everyone else has a Linux/Mac OS X workstation,
>>> but I have a windows workstation. Our project uses a shell script and a java
>>> program to automate some deployment/setup etc, which needs to create some
>>> directories of the sort /ABC/XYZ.
>>> Obviously such paths are not valid in Windows.
>>>
>>
>> You spread falsities about Windows.  Try the following in cmd.exe and
>> you will be in a shock for your life.
>>
>> mkdir /ABC/XYZ
>
> Well, I tried it. Maybe you should have, too.
>

I have before but not working today! ;p

However rmdir "/abc/xyz" did, note the quotes; the mkdir command did
not.  The one thing I find in Windows, nothing is consistent.

> H:\>mkdir /ABC/XYZ
> The syntax of the command is incorrect.
>
> When it comes to computers, it takes more than that to shock me :)

I'm still surprised occasionally but not often.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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



More information about the Cygwin mailing list