delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/11/15:14:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Lamar Seifuddin" <lamarts AT flash DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Directory names with spaces - No such - in script
Date: Tue, 11 Dec 2001 14:14:48 -0800
Message-ID: <EGEELNKPHPCMJAOJBEHHCEPKCLAA.lamarts@flash.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hello All,

I am creating some scripts, setting up the environment
 within the script.

e.g.

$ MUSIC_DIR="/cygdrive/c/Program\ Files/Audiogalaxy\ Satellite/Music/";
  export MUSIC_DIR

cd $MUSIC_DIR
=======================================================================

I get an error:

bash: cd: /cygdrive/c/Program: No such file or directory

I'm sure there is an easy solution, I just can't see it.

now if I created this without a directory (name) with spaces, it works.

thank you for your help

Lamar

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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