Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DEL disregards switch when using regular expressions

Jun
9
0
Windows Vista SP1
TCMD 9.02.155

When entering the DEL command below, the "/k" switch is ignored. I tried putting the "/k" before and after the file descriptor. Is anyone else able to recreate this issue? Or am I entering something incorrectly?

Command: del /k "::^\d{5}"

The command says to delete any file, in the current directory, that starts with 5 numeric digits.
___
TheXman
 
TheXman wrote:

> Windows Vista SP1
> TCMD 9.02.155
>
> When entering the DEL command below, the "/k" switch is ignored. I tried putting the "/k" before and after the file descriptor. Is anyone else able to recreate this issue? Or am I entering something incorrectly?
>
> Command: del /k "::^\d{5}"
>
> The command says to delete any file, in the current directory, that starts with 5 numeric digits.

Not reproducible here. (Setting the "delete to recycle bin" option and
then giving the /K option to DEL results in the file not being added to
the recycle bin.)

Do you have any aliases for DEL?

Rex Conn
JP Software
 
TheXman wrote:



Not reproducible here. (Setting the "delete to recycle bin" option and
then giving the /K option to DEL results in the file not being added to
the recycle bin.)

Do you have any aliases for DEL?

Rex Conn
JP Software

Please disregard. For some reason, I got the /k and /n switches mixed up. After not using tcmd for a while, I thought /k was the "do nothing" switch (/n).

Thanks.
 

Similar threads

Back
Top