wehuberconsultingllc.com

wehuberconsultingllc.com random header image

Cygwin: space in file name

June 11th, 2004 · 1 Comment · Linux

I recently fixed a problem with the profile script that is used by cygwin. It had a problem with a space in the filename, “My Documents”, and was generating several errors and not ending up in the correct directory. I tried several things that I thought should work but I ended up changing the script to use the “short” version of the filename. The DOS command “dir -x” will tell you its name.

Related posts:

Related posts brought to you by Yet Another Related Posts Plugin.

Tags:

1 response so far ↓

  • 1 Bob Heckel // Feb 15, 2008 at 4:50 pm

    thanks - i built off of your advice - now i can use find(1) in messy, space filled filename windows dirs:

    $ find . -mtime -2 -type f -exec dir -xl {} \;

Leave a Comment