mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 09:41:47 +00:00
"\\.\" always exists
Fixes "copy freeldr.ini con:" command svn path=/trunk/; revision=33467
This commit is contained in:
parent
2e73601047
commit
a617fe3890
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue