Jump to content

Deliting from DOS Command-line to Recycle Bin


Recommended Posts

Guys,

:dance: Do any of you know how to delete a file from the DOS command-line to the recycle bin? This is, not :whistle: using any AutoIt functions, just plain old DOS!

I am running a box with borg technology! The distintiveness of your brand box will be added to the colective ... protection utilities are futile!cha, cha, chachaaaanm!
Link to comment
Share on other sites

DOS does not have the notion of a recycle bin.

On Win9x systems you could possibly assume that the location is something like C:\RECYCLED but if you DIR this location, you will find that filenames are specially renamed. It is likely that Windows also takes notes in other locations when a file is moved there via Windows.

You may find that you can do the above, but you may not achieve the desired result of the file appearing in the Recycle Bin window for example.

Link to comment
Share on other sites

DOS does not have the notion of a recycle bin.

On Win9x systems you could possibly assume that the location is something like C:\RECYCLED but if you DIR this location, you will find that filenames are specially renamed. It is likely that Windows also takes notes in other locations when a file is moved there via Windows.

You may find that you can do the above, but you may not achieve the desired result of the file appearing in the Recycle Bin window for example.

<{POST_SNAPBACK}>

doesn't the command prompt still include the 'undelete' command? can see file names and details, and recover files after deleting them... no gui to it, and it doesn't go to the recycle bin, but may provide enough of the functionality that you're looking for.
Link to comment
Share on other sites

doesn't the command prompt still include the 'undelete' command? can see file names and details, and recover files after deleting them... no gui to it, and it doesn't go to the recycle bin, but may provide enough of the functionality that you're looking for.

<{POST_SNAPBACK}>

I have checked and the command prompt under XP does not have the "undelete" command.

EDIT:-

Fixed typo

Edited by BigDod


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

I remember looking into this some time ago - there is no way to get the DOS delete command to move file to the recycle bin. There are some command-line 3rd party DELETE-replacement programs that will do this. You can also get a file undeleter that will recover files deleted in DOS (usually files are marked for delition in the file tables, but the sectors are not actually over-written until the drive is full).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...