Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Paul Bailey" To: Subject: Windows/Cygwin directory name stuff Date: Fri, 17 Dec 1999 03:30:55 +1030 Message-ID: <000201bf47e7$1dcdb060$c8e898cb@warlord> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hi. On my Win98 machine, I have a sub-dir called "Installer Programs". (I also have other directory names, and file names, with spaces in them.) I installed Cygwin, which went OK. I was copying and moving files, and cd'ing throughout the filesystem. No problems. That is, until this: cd Installer Programs It wouldn't let me. I tried cd InstallerPrograms cd Installer_Programs cd Installer-Programs Nothing doing. Eventually I got there through: cd Installer* Fortunately I only have the one directory starting with the word "Installer". I searched throught the Web for some kind of information on spaces in Unix filenames. What little turned up was succinct one-liners, to the tune of "Don't use white space in filenames." Good advice for a Unix-only box, but I *already* have the directories and files named as they are! Is there some mechanism to navigate in bash through a filesystem where directories have spaces in their names? (I mean, I know Unix sees separate words after a command as an argument list, but that doesn't apply in the case of "cd" since I don't think you can cd into two separate directories simultaneously, in the same shell, at the same time.) Regards, Paul Bailey. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com