"\\.\" always exists

Fixes "copy freeldr.ini con:" command

svn path=/trunk/; revision=33467
This commit is contained in:
Hervé Poussineau 2008-05-12 09:40:08 +00:00
parent 2e73601047
commit a617fe3890

View file

@ -743,7 +743,7 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param)
_tcscpy(tmpDestPath,szDestPath);
/* Can't put a file into a folder that isnt there */
if(!IsExistingDirectory(szDestPath))
if(_tcscmp (szDestPath, _T("\\\\.\\")) && !IsExistingDirectory(szDestPath))
{
ConOutFormatMessage (GetLastError (), szSrcPath);
freep (arg);