Use name expression. It works regardless if path has spaces in it or not.
inputDir = "C:\Program Files\Quote.com\QCharts\Symbols\"
cd (inputDir)
>Hi, I am having a problem with the commands cd or chdir as follows:
>
>I define a variable for the directory I want to go to as
>inputDir = "C:\Program Files\Quote.com\QCharts\Symbols\"
>
>but neither of the following will go to this directory
>
>chdir &inputDir
>chdir inputDir
>
>however, this does work
>
>cd "C:\Program Files\Quote.com\QCharts\Symbols\"
>
>Help??
>Steve
--sb--