CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: file copying???

  1. #1
    Join Date
    Jun 1999
    Posts
    176

    file copying???

    how do you copy a file without knowing it's binary or text???


  2. #2
    Join Date
    May 1999
    Location
    WA
    Posts
    236

    Re: file copying???

    By default, all files are opened in text mode. In text mode, various character translations may take place, such as carriage / line feed sequences being converted into newlines. In binary mode, no such translation takes place. So if you don't care about the conversion, open the file in text mode.

    Roger L. McElfresh

  3. #3
    Join Date
    May 1999
    Location
    CA, USA
    Posts
    586

    Re: file copying???

    How about using CopyFile or CopyFileEx

    Rail

    Recording Engineer/Software Developer
    Rail Jon Rogut Software
    [email protected]
    http://home.earthlink.net/~railro/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured