file

Windows limitations on file and path name

The limitations have been pulled from Windows SDK header file

Using Sparse Files sample

“Sparse files” are only supported under Windows 2000 and later and the file must be on a volume that is NTFS 5.0 or later.
The code below sets the SPARSE attribute and zeros all the data in the file.

Copy, Move, Rename File Preserving Destination Name Case

The CopyFile() and MoveFile() WIN API functions preserve the case of the name for the destination file. Alternatively, WSH can be used.
The source and destination file names should include the directory name in both cases.