Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a folder
Message
From
06/02/2011 06:59:12
 
 
To
06/02/2011 06:03:25
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01498914
Message ID:
01498915
Views:
59
>Hello Everybody
>I am using getfile() to open a text file which is normal, but as I have different folders, how can I go to a directly to a specific folder where my text file is stored.
>thank you
>best for now

Ounis,

The only way I know is to change the directory prior to calling getfile
local oldir, textdir
oldir = fullpath(curdir())
textdir = 'D:\tmp'

cd (m.textdir)

?getFile()
cd (m.olddir)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform