Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on Curdir Function

Status
Not open for further replies.

AngO

Instructor
Jan 31, 2002
155
US
Hi,

I am using Curdir function in my pgm, It returns different paths during several times of execution. I also would like to know where from it took the Path. Any help will be greatly appreciated.

Thanks
Ango
 
essientially, it is the "last" directory which was SET in the program:

? CurDir()
C:\MsAccess
ChDir("..")
? CurDir
C:ChDir("\My Documents")
? CurDir
C:\My Documents

Other processes MAY also change the "Dir", so we may be able to refer to "CurDir" as "Dir de juor"

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Hi MichaelRed,

Thanks for your response. I still have one doubt like, I didn't use any of directory changing commands like "Chdir".
Assume that, I am using the curdir function in my start of the program, what will be the return value for this function. Actually, I want to know is there any place this curdir function go and search for the current path and return the value.

Thanks a lot for your help.

Ango
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top