Re: creating/copying files..



On 29 Dec 2005 03:13:17 +0100, Frances <fdr58@xxxxxxxxx> wrote, quoted
or indirectly quoted someone who said :

>actually the goal is not to create an empty file, but a file that I will
>be writing into, and will also need to copy, modify files... Roedy, as
>a "side effect of writing?" writing where?? :) thanks.. Frances

If you look at the generated sample code at
http://mindprod.com/applets/fileio.html to write a file, as a side
effect, if the file does not already exist, it will create it.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Simple question about mmap() system call
    ... I'm writing an utility that should examine some bytes of a large file ... and modify them - that't all. ... I've decided to mmap() the file: ... void *diskp; ...
    (freebsd-hackers)
  • Multithreading Interface Problem
    ... I'm writing a multithreaded application that uses 2 threads: ... modify the interface to reflect its busy state. ... processing I can't undo the changes because 'Controls created on one thread ... I use .NET Framework version 1.1 ...
    (microsoft.public.dotnet.languages.csharp)
  • Self-modifying Code
    ... when I was young I programmed in an interpreted language that allowed ... to modify itself. ... Also Python can (writing and running a module, ...
    (comp.lang.python)
  • Re: generating empty 1gb files
    ... steve wrote: ... > Can I use vbscript to generate an empty file that has a specified size? ... > I know that you can do it by opening a file for writing and then writing ...
    (microsoft.public.scripting.vbscript)
  • Re: Memory Manager DLL Validation
    ... > NOT modify any data beyond the last used character. ... safe. ... IMO reading past the end is fine, but writing is not acceptable. ...
    (borland.public.delphi.language.basm)