I think before anyone can answer this question, need to clarify when you state "current directory", do you mean...
- running application directory...
- running application start folder (this can be changed from within the icon that launches the application or set in debug)...
- current file system directory (assuming it was changed or you launched the application from the command line)...
- or current users "home" folder?
Thanks.