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
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
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.
Summary: Add the following objects to a new project: Name Value Description FO_COPY &H2 Copies a file or folder FO_DELETE &H3 Deletes a file or folder FO_MOVE &H1 Moves a file or folder FO_RENAME &H4 Ren...
Summary: M2: I did it, but it didn't move the files to its folder. When I changed to copy instead of move, it copied the files under the same directory. Let me try to be more clear with I'm trying to do, maybe...
Summary: Is there a program that logs each file that is put on the harddrive.. and perhaps instead of deleting to recycle bin, I would like a program to overwrite that section of the harddisk and then make it ...