mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
in cress COPYCMD param search speed before w3seek does it
svn path=/trunk/; revision=16589
This commit is contained in:
parent
8aa7fc3fb8
commit
6850597254
1 changed files with 9 additions and 17 deletions
|
@ -302,57 +302,49 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param)
|
||||||
{
|
{
|
||||||
if (_tcsncicmp(_T("/A"),&evar[t],2)==0)
|
if (_tcsncicmp(_T("/A"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
evar[t]=_T(' ');
|
dwFlags |=COPY_ASCII;
|
||||||
evar[t+1]=_T(' ');
|
t++;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (_tcsncicmp(_T("/B"),&evar[t],2)==0)
|
else if (_tcsncicmp(_T("/B"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_BINARY;
|
dwFlags |= COPY_BINARY;
|
||||||
evar[t]=_T(' ');
|
t++;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
}
|
}
|
||||||
else if (_tcsncicmp(_T("/D"),&evar[t],2)==0)
|
else if (_tcsncicmp(_T("/D"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_DECRYPT;
|
dwFlags |= COPY_DECRYPT;
|
||||||
evar[t]=_T(' ');
|
t++;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (_tcsncicmp(_T("/V"),&evar[t],2)==0)
|
else if (_tcsncicmp(_T("/V"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_VERIFY;
|
dwFlags |= COPY_VERIFY;
|
||||||
evar[t]=_T(' ');
|
t++;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (_tcsncicmp(_T("/N"),&evar[t],2)==0)
|
else if (_tcsncicmp(_T("/N"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_SHORTNAME;
|
dwFlags |= COPY_SHORTNAME;
|
||||||
evar[t]=_T(' ');
|
t++;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (_tcsncicmp(_T("/Y"),&evar[t],2)==0)
|
else if (_tcsncicmp(_T("/Y"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_NO_PROMPT;
|
dwFlags |= COPY_NO_PROMPT;
|
||||||
evar[t]=_T(' ');
|
t++;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (_tcsncicmp(_T("/-Y"),&evar[t],3)==0)
|
else if (_tcsncicmp(_T("/-Y"),&evar[t],3)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_PROMPT;
|
dwFlags |= COPY_PROMPT;
|
||||||
evar[t]=_T(' ');
|
t+=2;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
evar[t+2]=_T(' ');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (_tcsncicmp(_T("/Z"),&evar[t],2)==0)
|
else if (_tcsncicmp(_T("/Z"),&evar[t],2)==0)
|
||||||
{
|
{
|
||||||
dwFlags |= COPY_PROMPT;
|
dwFlags |= COPY_PROMPT;
|
||||||
evar[t]=_T(' ');
|
t++;
|
||||||
evar[t+1]=_T(' ');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue