Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open any folder in Windows Explorer
Message
From
06/05/2005 00:15:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/05/2005 00:12:53
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011498
Message ID:
01011500
Views:
13
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform