>Hi,
>
>Im creating a directory programmatically but it creted only the first words.
>How to overcome this?
>
>Here is my code below.
>
>
cBranch_name = "Test Shop"
>MD &cBranch_name
>
>
>This code create only a folder
"Test" and not my expected
"Test Shop">Im saving the Shop Name to a configuration table and it will save also as "Test"
>Any suggestions? Am I missing something?
>Thanks.
The reason it doesn't work is because:
md &cBranch_name
gets replaced with:
md Test Shop
... which, as you can easily verify, ignores everything after the first parameter.
The following also works:
MyDir = ["xxx yyy"]
md &MyDir
(quotation marks included as part of the variable filename), but I recommend the parentheses.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)