Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Oct : Current directory of process

www.cryer.info
Managed Newsgroup Archive

Current directory of process

Subject:Current directory of process
Posted by:"Andreas" (andre..@enkeladress.com)
Date:Mon, 16 Oct 2006 13:41:52

Hi!
I'm creating an application that executes a batch file using CreateProcess.
This batch file in turn changes it's current directory with a series of "CD"
commands.

What I need to do is to know in wich directory the process ends at.

In other words I need to call a GetCurrentDir function for another process,
is this possible?
If yes, then how?


Thank you very much
/Andreas

Replies:

www.cryer.info
Managed Newsgroup Archive