Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

touch?

Moderators: larsivi kris

Posted: 10/08/11 09:15:12

Is there a simple way to "touch" a file? Can't do 'system("touch "~filename);' because I need it to work on Windows, too. Neither of these seem to work:

File.append(filename, null);

(new File(filename, File.WriteAppending?)).close;

There are no responses to display.