Computing.Net > Forums > Programming > move to recycle bin

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

move to recycle bin

Reply to Message Icon

Name: blackrat
Date: March 9, 2005 at 00:57:07 Pacific
OS: XP
CPU/Ram: Pentium 2800MHz/1GB DDR
Comment:

I try to make a batch file for all Windows systems and need to delete files in the way, that they are moved in the recycle bin.

How can I target the recycle bin? I cannot find an environment variable for it.
move file.ext C:\RECYCLED
doesn't work either.

Or does anyone now a command line utility for it? Delete97 or DeleteXP didn't work for me on two XP machines I tested it.

blackrat

Backup Incremental in WoW-Section
Batch to full, incremental or differential backup of folders, validation and achiving RAR



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: March 9, 2005 at 01:33:44 Pacific
Reply:

This works in w2k:

move file.ext C:\RECYCLED

Not obvious why it would be much different in XP.

But before you go to all the trouble to tweak up the batch, keep in mind that a file moved at the ptompt to the recycle bin is not 'recylclable' because Windows didn't track the move.

So you may as well just delete it.

M2


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: move to recycle bin

VB Copy Command www.computing.net/answers/programming/vb-copy-command/12183.html

batchfiles move to multi dest www.computing.net/answers/programming/batchfiles-move-to-multi-dest/17912.html

file creation logging www.computing.net/answers/programming/file-creation-logging/10595.html