C (127/207)

From:Steffen
Date:19 Dec 99 at 10:27:23
Subject:Get CurrentDir Name

From: Steffen <steffen.mars@stenloese.mail.telia.com>

SHORT:
I need to get the name (ASCII) of my CurrentDir. I tried GetCurrentDirName(), but it seems it just returns what has been set via SetCurrentDirName() (it's taken from the CLI structure), so when i CD ( CurrentDir() ) it has no effect ( it still returns the dir i started the program from).

I CD to argv, so that if argv is just an assign, i get the actual path. Just like when i type ' CD S: ' from dos, calling ' CD ' will then tell me that im at ' Main:S ' (for instance).

Thank you...