4NT - delete from command prompt and recycle bin

Dec 8, 2010
5
0
Hello,
I hope I'm in the right forum - I can't seem to find one for 4NT specifically.

I seem to recall that there is a way to, when you delete a file from the command prompt, to have it go to the recycle bin. I believe that behavior is settable via a 4NT environement variable or something like that but am not sure.

How do I activate this feature if indeed it exists?

Thanks,
Steve
 
May 20, 2008
603
0
Sammamish, WA
I believe if you are talking about the new TCC, you can type "option" and
the checkbox "Delete to Recycle Bin" is in the "Startup" tab.


On Wed, Dec 8, 2010 at 14:25, stevefromc <> wrote:


> Hello,
> I hope I'm in the right forum - I can't see to find one for 4NT
> specifically.
>
> I seem to recall that there is a way to, when you delete a file from the
> command prompt, to have it go to the recycle bin. I believe that behavior is
> settable via a 4NT environement variable or something like that.
>
> How do I activate this feature?
>
> Thanks,
> Steve
>
>
>
>
>



--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
---- Original Message ----
From: stevefromc
To: ESFabian@comcast.net
Sent: Wednesday, 2010. December 8. 17:25
Subject: [Support-t-2474] 4NT - delete from command prompt and recycle
bin

| Hello,
| I hope I'm in the right forum - I can't see to find one for 4NT
| specifically.
|
| I seem to recall that there is a way to, when you delete a file from
| the command prompt, to have it go to the recycle bin. I believe that
| behavior is settable via a 4NT environement variable or something
| like that.
|
| How do I activate this feature?

TCC has replaced 4NT years ago. What version of 4NT do you use? At least going back to V5, the .INI directive RecycleBin could be set to Yes or No to control default operation. Since V6 this could be set in the OPTION dialog. Both the DEL / ERASE command and the RD / RMDIR command also have the /K (no recycle bin) and /R (recycle bin) options to override the default. The RECYCLEEXCLUDE variable can be used to exclude files from using the recycle bin.
--
HTH, Steve
 
Dec 8, 2010
5
0
---- Original Message ----
TCC has replaced 4NT years ago. What version of 4NT do you use? At least going back to V5, the .INI directive RecycleBin could be set to Yes or No to control default operation. Since V6 this could be set in the OPTION dialog. Both the DEL / ERASE command and the RD / RMDIR command also have the /K (no recycle bin) and /R (recycle bin) options to override the default. The RECYCLEEXCLUDE variable can be used to exclude files from using the recycle bin.
--
HTH, Steve

Thanks to both of you. Typing 'OPTION' brought up the dialog box you mentioned. One question though. Will this option stay enabled should I reboot? (I am working remotely and can't reboot for some reason.)

Btw version of 4NT is
4NT 6.01.237A Windows XP 5.1

Thanks!
 
May 20, 2008
3,515
4
Elkridge, MD, USA
From: stevefromc
To: ESFabian@comcast.net
Sent: Wednesday, 2010. December 8. 22:36
Subject: RE: [Support-t-2474] Re: 4NT - delete from command prompt and recycle bin


Quote:
Originally Posted by Steve F�bi�n
---- Original Message ----
TCC has replaced 4NT years ago. What version of 4NT do you use? At least going back to V5, the .INI directive RecycleBin could be set to Yes or No to control default operation. Since V6 this could be set in the OPTION dialog. Both the DEL / ERASE command and the RD / RMDIR command also have the /K (no recycle bin) and /R (recycle bin) options to override the default. The RECYCLEEXCLUDE variable can be used to exclude files from using the recycle bin.
--
HTH, Steve

Thanks to both of you. Typing 'OPTION' brought up the dialog box you mentioned. One question though. Will this option stay enabled should I reboot? (I am working remotely and can't reboot for some reason.)

Btw version of 4NT is
4NT 6.01.237A Windows XP 5.1
-----------------------------------------
The change modifies the .INI file 4NT uses, and thus it will be permanent - unless the file was marked read-only.
BTW, the latest build for 4nt6 was 6.01.245, dated 2005-05-24, which you could download from jpsoft.com as a free upgrade. However, I'd suggest you upgrade to version 12 which is 5 years newer...
--
HTH, Steve
 
Dec 8, 2010
5
0
The change modifies the .INI file 4NT uses, and thus it will be permanent - unless the file was marked read-only.
BTW, the latest build for 4nt6 was 6.01.245, dated 2005-05-24, which you could download from jpsoft.com as a free upgrade. However, I'd suggest you upgrade to version 12 which is 5 years newer...
--
HTH, Steve

Thanks. Is there a way to tell if my INI file is readonly? Where can I find it?
 
Dec 8, 2010
5
0
One more thing-my subst'd drives are as follows:

D:\: => C:\drive-d
E:\: => C:\drive-e
F:\: => C:\drive-f
I:\: => D:\
T:\: => C:\drive-c
U:\: => F:\
W:\: => E:\

When I delete from C: the file goes to the recycle bin.
Same for E:.
But when I delete from I: (which is a drive I often use) it does NOT go to the recycle bin. Any idea why?

Thanks.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
From: stevefromc
| Thanks. Is there a way to tell if my INI file is readonly? Where can I |
find it?

The command
ATTRIB %_ININAME
will report both the file name and its current attributes.
--
HTH, Steve
 
May 20, 2008
3,515
4
Elkridge, MD, USA
From: stevefromc
| One more thing-my subset's drives are as follows:
|
| D:\: => C:\drive-do
| E:\: => C:\drive-e
| F:\: => C:\drive-if
| I:\: => D:\
| T:\: => C:\drive-c
| U:\: => F:\
| W:\: => E:\
|
| When I delete from C: the file goes to the recycle bin.
| Same for E:.
| But when I delete from I: (which is a drive I often use) it does NOT go |
| to the recycle bin. Any idea why?

What happens if you use Windows Explorer? It is conceivable that some
confusion arises from using the substitutions.
--
Steve
 

samintz

Scott Mintz
May 20, 2008
1,503
16
Solon, OH, USA
Since I: and D: reference the same path why not do the same SUBST instead
of doing an indirect SUBST?

I.e.
D:\: => C:\drive-do
I:\: => C:\drive-do

-Scott

Steve F$BaC(Bi$BaO(B <> wrote on 12/09/2010 12:13:44 PM:


> From: stevefromc
> | One more thing-my subset's drives are as follows:
> |
> | D:\: => C:\drive-do
> | E:\: => C:\drive-e
> | F:\: => C:\drive-if
> | I:\: => D:\
> | T:\: => C:\drive-c
> | U:\: => F:\
> | W:\: => E:\
> |
> | When I delete from C: the file goes to the recycle bin.
> | Same for E:.
> | But when I delete from I: (which is a drive I often use) it does NOT
go |

> | to the recycle bin. Any idea why?
>
> What happens if you use Windows Explorer? It is conceivable that
some

> confusion arises from using the substitutions.
> --
> Steve
>
>
>
>
 
Dec 8, 2010
5
0
Steve Fábián;13034]From: samintz
| Since I: and D: reference the same path why not do the same SUBST instead
| of doing an indirect SUBST?
|
| I.e.
| D:\: => C:\drive-do
| I:\: => C:\drive-do

That worked! Thank you!

However, one of my colleagues, who has the same SUBST's as me has a problem in that only the C: drive files are going to the recycle bin.
He has Windows 7, but can run XP as a virtual machine (through Virtual PC I think). His versions of 4NT are:


From windows 7:
4NT 6.01.237A Windows 2003 6.1

From windows XP:
4NT 6.01.237A Windows XP 5.1

The later is actually the same as mine, as I have an XP machine, no Windows 7.

Thanks.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
That worked! Thank you!

However, one of my colleagues, who has the same SUBST's as me has a problem in that only the C: drive files are going to the recycle bin.
He has Windows 7, but can run XP as a virtual machine (through Virtual PC I think).

You cannot delete to the recycle bin if the drive is a network or remote drive.

The delete operation is a Windows API, so if it's not going to the recycle bin (and it's not a network or remote drive, or excluded in the REcycleExclude environment variable) then it's a Windows problem, not TCC / 4NT.
 
Similar threads
Thread starter Title Forum Replies Date
G 4NT on Windows 10 Support 3
J 4NT V8.02 Registration on SSD Support 2
SB-Robert Old 4NT Won't Register - Options? Support 8
Kachupp old version 4nt v8 Support 0
Kachupp old version 4nt v8 Support 0
N Shortcut stops working after 4NT to TCC Upgrade Support 73
J 4NT problems after going to Windows 7 Support 5
A Installing 4nt on Windows 7 Support 3
W 4NT 8.00 Registration Question Support 7
BobK New to TCC, Why does it use my old 4NT files? Support 3
rcjackson0926 TCC 11.0 vs 4NT copy and paste Support 2
J 4nt 5.0 Registration key won't work Support 6
A Issue with 4NT Support 7
A How to Run the 4NT 8.02 .INI Key Version Support 3
A 4NT 8.02 Installation on Windows 7 Support 1
Joe Caverly 4nt.exe Support 2
S TCC 9.02 vs 4NT 8.02 difference - for %a COPY Support 6
noahcoad Possible Bug? Launching 4nt.exe Goes Hairwire Support 10
W The skipping of remaining 4NT job steps Support 2
D Peculiar symptoms w/ 4NT, TCC/LE vis a vis CMD.EXE Support 11
T TCv9.0 much slower than TCI v2.0/4NT Support 8
J 4NT Error when running 'system' from a program to execute a .BTM Support 3
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
S TCC 9.02 vs 4NT 8.02 TAB completion on FTP Support 7
R 4NT, TCC/LE : "IF EXIST X:\NUL" always fails Support 13
G 4NT 9.02 _shell internal variable Support 50
S MOVE command over FTP with 4NT 5.00U Support 0
R 4nt v8 Support 1
A Installers delete EVerything service if already installed Support 0
Chen Touboul When i try to delete an empty folder i got "the dirctoy name is invalid" Support 3
I zip /M fails to delete file after adding to zip file Support 2
D SYNC /W copies back instead of propagating a delete Support 2
M Delete multiple Alternate Datastreams Support 5
D safe delete files command Support 10
P How to? Delete subfolders but not the folder itself Support 11
P Can't do something to a file and then delete it? Support 6
nickles WAD del unable to delete files ending in "." Support 18
gschizas Fixed Cannot use extended path to delete invalid file Support 3
M Can't delete files... Support 8
aedthuio REG ADD/DELETE Support 1
vefatica Cut/delete Support 3
D TCMD16 Delete Toolbar Button bug Support 7
G FOLDERMONITOR created also firing for delete (and maybe other events) Support 7
T How to? Select and Delete text Support 6
Joe Caverly How to? Delete a line from a file Support 4
CWBillow Delete based on dates Support 5
JohnQSmith How to? Delete descriptions Support 2
vefatica How do I delete "spaces.txt "? Support 21
A How to? Instruct COPY to delete file if only partially copied (via FTP) Support 8
M Why am I unable to delete files? Support 8

Similar threads