From a617fe38905df4879b4a0fbdf513d49ee8e61f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 12 May 2008 09:40:08 +0000 Subject: [PATCH] "\\.\" always exists Fixes "copy freeldr.ini con:" command svn path=/trunk/; revision=33467 --- reactos/base/shell/cmd/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/shell/cmd/copy.c b/reactos/base/shell/cmd/copy.c index 1239ed4f433..94208d99d23 100644 --- a/reactos/base/shell/cmd/copy.c +++ b/reactos/base/shell/cmd/copy.c @@ -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);