Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution & Windows 2000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00396126
Message ID:
00396127
Views:
13
>Hi all
>I got am special one for you
>I have This code in a click methode of a commande button
>I do this in Windows 98
>Chdir &Tempdir In Win 98 It's working fine
>
>But it dosent work in Win 2000
>I must do
>Chdir(Tmpdir)
>
>Any Tips

Don't use macro expansion with either - if the path includes a space in either case, CHDIR will fail using macro expansion since the parser treats a space as a delmiter. Since name resolution is faster in both cases, and works in both cases, there's no reason not to use it.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform