>Dear Experts
>
>I want to display the contents of folder given in variable vfolder1
>vfolder1 = alltrim(Thisform.text4.value) && d:\system\gin0405
>
>When I run the following command
>
>RUN/n "explorer.exe" vfolder1
>
>it alwasy shows the contents of C:\
>
>How to open the folder d:\system\gin0405 as from variable
>
>Please help
Use macro substitution, including the ampersand, "&":
RUN /n "explorer.exe" &vfolder1
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)