Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cd or chdir problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728729
Message ID:
00728731
Views:
16
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform