fpc/docs/refex/ex7.pp
1998-03-25 11:26:49 +00:00

12 lines
193 B
ObjectPascal

Program Example7;
{ Program to demonstrate the ChDir function. }
begin
{$I-}
ChDir (ParamStr(1));
if IOresult<>0 then
Writeln ('Cannot change to directory : ',paramstr (1));
end.