Click to See Complete Forum and Search --> : file copying???


Grace
June 27th, 1999, 05:23 PM
how do you copy a file without knowing it's binary or text???

herbieII
June 27th, 1999, 06:24 PM
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

Rail Jon Rogut
June 27th, 1999, 06:55 PM
How about using CopyFile or CopyFileEx

Rail

Recording Engineer/Software Developer
Rail Jon Rogut Software
railro@earthlink.net
http://home.earthlink.net/~railro/