View Single Post
  #1  
Old 01-03-2001, 02:14 AM
TheDuke TheDuke is offline
Senior Member
 
Join Date: Jan 2001
Posts: 269
Default Help with chdir !!!! Turbo Pascal vs Delphi

First of all i apologize for my bad english :P
i'm quite new to delphi so forgive the lame question too.

I'm writing a small console application.
The problem is: How to make delphi chdir work as sweet old TP chdir?

In turbopascal if i chdir('c:\windows'); when the program exit my current working directory is \windows

in delphi the directory change works only while the program is still running. When the program exit the Current Working Directory still is the one from which i launched my application.
I need it changed to c:\windows!!
anybody know how to achive that?

Thanks in advance.
Reply With Quote