mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +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);
|
_tcscpy(tmpDestPath,szDestPath);
|
||||||
|
|
||||||
/* Can't put a file into a folder that isnt there */
|
/* Can't put a file into a folder that isnt there */
|
||||||
if(!IsExistingDirectory(szDestPath))
|
if(_tcscmp (szDestPath, _T("\\\\.\\")) && !IsExistingDirectory(szDestPath))
|
||||||
{
|
{
|
||||||
ConOutFormatMessage (GetLastError (), szSrcPath);
|
ConOutFormatMessage (GetLastError (), szSrcPath);
|
||||||
freep (arg);
|
freep (arg);
|
||||||
|
|
Loading…
Reference in a new issue