how do you copy a file without knowing it's binary or text???
Printable View
how do you copy a file without knowing it's binary or text???
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
How about using CopyFile or CopyFileEx
Rail
Recording Engineer/Software Developer
Rail Jon Rogut Software
[email protected]
http://home.earthlink.net/~railro/