mischmasch
Programmer
- May 10, 2011
- 11
Hi,
Any ideas why I get an error 'File access denied' all the time? Thx.
procedure CreateFile;
var
Any ideas why I get an error 'File access denied' all the time? Thx.
procedure CreateFile;
var
F: TextFile;
beginAssignFile(F, 'C:\test.txt');
ReWrite(F);
WriteLn(F, 'something');
CloseFile(F);
end;ReWrite(F);
WriteLn(F, 'something');
CloseFile(F);