www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/21/02:57:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <30016692.post@talk.nabble.com>
Date: Wed, 20 Oct 2010 23:57:03 -0700 (PDT)
From: msmoore <it AT kalani DOT com>
To: cygwin AT cygwin DOT com
Subject: nondosfilewarning help
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I need help with getting rid of a dos warning.  I have a Windows 7 computer
running a script that requires rsync in Cygwin.  When the batch script is
run, I get the following error:

Nonempty Server backup error log on computer2

cygwin warning:
  MS-DOS style path detected: E:/backups/Server/files/
  Preferred POSIX equivalent is: /cygdrive/e/backups/Server/files/
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

So I edited the cygwin batch file to say:

@echo off

C:
chdir C:\cygwin\bin

set CYGWIN=nodosfilewarning

bash --login -i

But I still get the error.

Any ideas?
-- 
View this message in context: http://old.nabble.com/nondosfilewarning-help-tp30016692p30016692.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019