Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cygwin unexpected token `(' on cd

Tags:

cygwin

I have got Program Files and Program Files (x86) directory at C. I can access to Program Files using $ cd Program\ Files\ from windows 8 but this $ cd Program\ Files\ (x86) command returns following error:

sadaf2605@Sadaf /cygdrive/c
$ cd Program\ Files\ (x86)
-bash: syntax error near unexpected token `('
like image 930
sadaf2605 Avatar asked Feb 26 '13 02:02

sadaf2605


1 Answers

You have to escape the parentheses as well:

$ cd Program\ Files\ \(x86\)

Or just use quotes:

$ cd "Program Files (x86)"
like image 66
Blender Avatar answered Oct 14 '22 13:10

Blender