Operations with directories  

Send By: Q3 Team
Web : www.q3.nu
Email: dlib@q3.nu
Date: 22/08/99

Tip accessed 598 times

 


  • Make a directory:


     	{$I-}
     	MkDir('c:\directorio\');
     	if IOResult <> 0 then
     	  MessageDlg('No he podido crear el directorio', mtWarning, [mbOk], 0);
    




  • Erase a directory:


     	{$I-}
     	RmDir('c:\directorio\');
     	if IOResult <> 0 then
     	    MessageDlg('No he podido borrar el directorio', mtWarning, [mbOk], 0);
    




  • Change direectory


     	ChDir('c:\directorio\);