Código
Unit
FileCtrl
procedure TForm1.Button1Click(Sender: TObject);
var
Dir: string;
begin
Dir := 'C:APPSSALESLOCAL';
if not DirectoryExists(Dir) then
ForceDirectories(Dir);
Label1.Caption := Dir + ' foi criado';
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009