Puzzling Behavior of TDRV and DEL

Nov 18, 2014
6
0
I just noticed this after installation of the latest Windows 10
Running Windows 10 Pro Ver 1709 Build 16299.19, TCC 17.00.64

At startup, this fragment is run

cd "Google Drive"
call utils\tdrv G
exit

The behavior of DEL is different when called from "Google Drive" and from G:

del "Google Drive\x.y" puts file into recycle bin
del G:\x.y deletes file permanently

This works the same way from Windows folders.

Any ideas as to what is going on or how to get the recycle bin from temp drive G:
 
May 20, 2008
11,437
99
Syracuse, NY, USA
If that is a drive of the kind you get with the SUBST command, then I think you are seeing normal Windows behavior. I have:
Code:
v:\> subst
V:\: => H:\work
If, using Explorer I try to delete a file in H:\work, I'm asked "Are you sure you want to move it to the recycle bin".
If, again with Explorer, I try to delete the same file in V:\, I'm asked "Are you sure you want to permanently delete it".

A "substituted" drive (a DosDevice) doesn't have a recycle bin.
 
Similar threads
Thread starter Title Forum Replies Date
H @XMLNODES - New behavior? Support 3
Jesse Heines Strange Line Wrapping Behavior Support 14
H Behavior change re piping a string to a Java program Support 1
Jay Sage Baffling Behavior With TPIPE Support 5
D Pasting Unicode data has different behavior on TCC and CMD Support 2
P "Set" command behavior - a bug? Support 3
P LOG command behavior Support 3
N Fixed Strange dir behavior Support 6
A Inconsistent @WINPOS // ACTIVATE /POS= behavior Support 0
P Strange mouse behavior with list Support 2
R Find in screen buffer - find next behavior Support 0
D v20 code page behavior changes Support 2
D Strange DO behavior with /O Support 5
Jay Sage Change in Behavior of Activate Command Support 4
deleyd Fixed Behavior different than CMD Support 1
jwiede Difference in "FOR /F" behavior (?) Support 1
R Difference in behavior of RMDIR vs. CMD.EXE? Support 5
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
D Unexpected behavior Support 8
D Bash-like Esc->Backspace behavior Support 4
C ZIP behavior Support 5
Charles Dye Odd behavior after using OPTION "Advanced" tab Support 2
C odd behavior of "dir" Support 0
M How to? Work around an unexpected and very inconvenient behavior of TCC... Support 26
A expected behavior of move /sx Support 14
M WAD A complaint regarding a very irritating TCC installation behavior... (Bug?) Support 4
S Inexplicable behavior difference in nearly identical shortcuts Support 6
Peter Bratton @ping behavior change Support 2
vefatica SHORTCUT behavior (Win7) Support 3
M A question about new behavior that’s a minor irritation… Support 16
M Strange behavior... Support 2
S MSGBOX - inconsistent behavior Support 1
vefatica @REGEX: behavior vs. documentation Support 2
vefatica Strange behavior reloading SHRALIAS sav files. Support 1
S Strange CHKDSK behavior Support 6
Fross Odd IF behavior Support 3
M (Somewhat unbelievable) Do While Behavior/Question Support 1
S RECYCLE /P - unexpected behavior Support 0
J Odd OPTION behavior Support 1

Similar threads