Hi all,
I wonder why FindFile returns true when I pass a file directory path like "C:\Programs\\New Folder".
By the way, for the definition of directory path, someone prefers the path with back slash '\' at the end, but someone prefers no '\' at the end. The reasons are:
With '\', it is clearly indicated it is a directory path, not a file name.
Without '\', it is used by Windows Explorer, and Dos command.
I like the second opinion, but my boss likes the first, so I have to change everything back to meet his favor. That's why there are two slashes in "C:\Programs\\New Folder".
Any ideas?
Thanks.
I wonder why FindFile returns true when I pass a file directory path like "C:\Programs\\New Folder".
By the way, for the definition of directory path, someone prefers the path with back slash '\' at the end, but someone prefers no '\' at the end. The reasons are:
With '\', it is clearly indicated it is a directory path, not a file name.
Without '\', it is used by Windows Explorer, and Dos command.
I like the second opinion, but my boss likes the first, so I have to change everything back to meet his favor. That's why there are two slashes in "C:\Programs\\New Folder".
Any ideas?
Thanks.