I am wanting the GETFILE() command to start in a specific directory. How do
I do this? I am a table called de_ctrl, my apps control file, and I have a
memo filed called m_media. I want the get file to use the path in the
de_ctrl.m_media. Your thoughts are greatly appreciated.

Respectfully,

Jonathan Morningstar



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Re: Getfile Q. by Jack

Jack
Sun Nov 27 20:40:05 CST 2005

On Sun, 27 Nov 2005 21:00:08 -0500, "Quickbuzz"
<quickbuzz@<REMOVE>charter.net> wrote:

>I am wanting the GETFILE() command to start in a specific directory. How do
>I do this? I am a table called de_ctrl, my apps control file, and I have a
>memo filed called m_media. I want the get file to use the path in the
>de_ctrl.m_media. Your thoughts are greatly appreciated.

Assuming that the table de_ctrl is open and positioned to the correct
record:

LOCAL cOldPath, cFile

cOldPath = CURDIR()
CD (de_ctrl.m_media)

cFile = GETFILE()

CD (cOldPath)

Re: Getfile Q. by Cindy

Cindy
Sun Nov 27 23:09:49 CST 2005

Hi Jonathan,

I'm not sure why you're getting a "file" to start in a directory. Have you
considered GetDir() ?

--
Cindy Winegarden Microsoft Visual FoxPro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
http://spaces.msn.com/members/cindywinegarden


"Quickbuzz charter.net>" <quickbuzz@<REMOVE> wrote in message
news:1133143374_35951@spool6-east.superfeed.net...
>I am wanting the GETFILE() command to start in a specific directory. How
>do I do this? I am a table called de_ctrl, my apps control file, and I have
>a memo filed called m_media. I want the get file to use the path in the
>de_ctrl.m_media. Your thoughts are greatly appreciated.