mirror of
https://github.com/reactos/reactos.git
synced 2024-08-14 23:49:49 +00:00
"\\.\" always exists
Fixes "copy freeldr.ini con:" command svn path=/trunk/; revision=33467
This commit is contained in:
parent
2e73601047
commit
a617fe3890
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue