PDA

View Full Version : تغییر دادن مسیر جاری



mostafa612003
دوشنبه 02 تیر 1382, 10:26 صبح
سلام
می توانیم در برنامه مسیر جاری راعوض کنیم؟

ممنون

hr110
دوشنبه 02 تیر 1382, 10:29 صبح
با سلام
دستور مربوطه و راهنمای دلفی :wink: :

Sets the current directory.

Unit

Sysutils

Category

file management routines

function SetCurrentDir(const Dir: string): Boolean;

Description

The SetCurrentDir function sets the current directory. The return value is True if the current directory was successfully changed, or False if an error occurred.