CD to directory with spaces

Advertisement

cbartlet
Joined:
Posts:
1
Location:
Warwick, UK

CD to directory with spaces

How can I CD to a directory structure that has spaces in it e.g.

cd /calorgas/Files To Adare Halcyon

If I have this in a script it says;

Too many parameters for command 'cd'.

Thanks in advance

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: CD to directory with spaces

Enclose the path to double quotes.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum