Re: copy files

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mike (csharpcoder_at_sbcglobal.net)
Date: 02/17/04


Date: Tue, 17 Feb 2004 14:04:29 -0500

were can i find a snippet of code or an example that does this? I want to
see verify that my syntax is correct. I'm getting a new error everytime I
run the app

"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1a9c72212152c8dc98a17f@msnews.microsoft.com...
> Mike <csharpcoder@sbcglobal.net> wrote:
> > Actually i just tried that it i get, "can't a files that already exsist"
> > when i try the file.copy piece
>
> Then you presumably either want the version that will overwrite
> existing files, or check whether or not the destination file exists
> first, and ignore that file if so.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too



Relevant Pages

  • Re: copy files
    ... > were can i find a snippet of code or an example that does this? ... > see verify that my syntax is correct. ... Why don't you write a test console app then? ...
    (microsoft.public.dotnet.languages.csharp)
  • need code snippet to verify input strings
    ... I'm obviously a newbie, and since I detest re-inventing the wheel, can ... someone show me/give me a snippet that will verify that an input string is ... I'm using DB2 and would like to verify that a string is ...
    (comp.lang.php)
  • Re: Any way to check for pending vwait/tkwait?
    ... One verify command occupies ... easily support syntax like ... the timeout is common to all three events, ...
    (comp.lang.tcl)
  • Re: Pascal Verification
    ... Verify what exactly? ... Syntax check is done by the compiler automatically. ... Fair question! ... I'm trying to unravel complexity. ...
    (comp.lang.pascal.misc)
  • Re: xPath query
    ... Below is a snippet of the Xml I'm trying to select. ... Also, I tried the syntax you include at the end of the attribute eval, " /@* ". ... The xPath expression was valid, just nothing populated in my NodeList ...
    (microsoft.public.dotnet.xml)