user3303314
user3303314

Reputation: 81

sh.exe": syntax error near unexpected token `('

All that I'm trying to do is cd into Program Files (x86) and I get this:

Already in the C directory:

$ cd Program Files (x86)

sh.exe": syntax error near unexpected token `('

Upvotes: 7

Views: 10571

Answers (1)

CupawnTae
CupawnTae

Reputation: 14580

you need to quote the directory name or escape special characters

try

cd "Program Files (x86)"

or

cd Program\ Files\ \(x86\)

Upvotes: 11

Related Questions