mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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)
|
||||
{
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
dwFlags |=COPY_ASCII;
|
||||
t++;
|
||||
}
|
||||
|
||||
else if (_tcsncicmp(_T("/B"),&evar[t],2)==0)
|
||||
{
|
||||
dwFlags |= COPY_BINARY;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
t++;
|
||||
}
|
||||
else if (_tcsncicmp(_T("/D"),&evar[t],2)==0)
|
||||
{
|
||||
dwFlags |= COPY_DECRYPT;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
t++;
|
||||
}
|
||||
|
||||
else if (_tcsncicmp(_T("/V"),&evar[t],2)==0)
|
||||
{
|
||||
dwFlags |= COPY_VERIFY;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
t++;
|
||||
}
|
||||
|
||||
else if (_tcsncicmp(_T("/N"),&evar[t],2)==0)
|
||||
{
|
||||
dwFlags |= COPY_SHORTNAME;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
t++;
|
||||
}
|
||||
|
||||
else if (_tcsncicmp(_T("/Y"),&evar[t],2)==0)
|
||||
{
|
||||
dwFlags |= COPY_NO_PROMPT;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
t++;
|
||||
}
|
||||
|
||||
else if (_tcsncicmp(_T("/-Y"),&evar[t],3)==0)
|
||||
{
|
||||
dwFlags |= COPY_PROMPT;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
evar[t+2]=_T(' ');
|
||||
t+=2;
|
||||
}
|
||||
|
||||
else if (_tcsncicmp(_T("/Z"),&evar[t],2)==0)
|
||||
{
|
||||
dwFlags |= COPY_PROMPT;
|
||||
evar[t]=_T(' ');
|
||||
evar[t+1]=_T(' ');
|
||||
t++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue