Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
Um, someone was on my computer and they apparently deleted some stuff because my recycle bin is messed up. The icon shows it has stuff in it, and if I choose empty recycle bin, it says "Are you sure you want to delete these 5 items?" But when I look inside, there's nothing in there! I have it set to show all files, but still, nothing! I tried deleting a shortcut, and it shows up in there, but whatever else is in there doesn't show! Help!

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
I would take a look at the files in the recycle bin in the raw. I have Win2k, so keep that in mind if things aren't the same for you.

# Open up the command prompt, do what I type #

cd C:\RECYCLER
dir /a

# At this point you may see a very long folder #
# name, use the shorthand in order to cd into it #
# dir /a looks at ALL the files in the folder #
# To make this default, enter the following: #
# set DIRCMD=/a #

cd S-1-5-~1
dir /a
notepad desktop.ini
notepad INFO2

# In my empty recycle bin, I have 2 files #
# desktop.ini is in quite a few folders and may #
# not be useful to you - and didn't look special #
# to me. INFO2 however had some UNICODE strings #
# that was very interesting - perhaps some trash #
# left over from previously deleted files - looks#
# like it to me. You may try moving this file #
# somewhere else and see if that solves your #
# problem. For SURE, if there's any other files #
# move them as well. #

attrib -H INFO2
move INFO2 C:\

I noticed that after I did this. a new emtpy INFO2 file was immediately created. Then I deleted something and it didn't show in the recycle bin. do another "DIR" command and you'll see it in there. I simply moved it back out via the command-line and put my original INFO2 back into the folder to fix it. You may have to grab a INFO2 file from another computer to fix your recycle bin. OR, all you have to do is delete any extra files in that folder.

Tell me how things go.

(oh yeah, attrib is a program which changes file attributes. attrib -H <file> and attrib -S <file> and attrib -S -H <file> are all useful implementations of this utility. I had to remove INFO2's hidden attribute before I could move it.)


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
Alright, I went to command.com and it showed the info2 file. BTW, I'm on win98.
I moved the file, sent it to the recycle bin, deleted it, and it doesn't seem to care. There's no new one made.
This is quite strange. The icon shows an empty bin. In explorer it says 0 files, and it's set to display ALL files (system and hidden). But when I say empty, it still says "Are you sure you want to delete these 5 items?" If I add another file to the bin the number goes up, etc. It acts just as if there are ultra hidden files in there. WTF?! I tried logging off, rebooting. Still the same.

Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
For every hard drive the folder recycled exists. c:\recycled for drive c: Pending delete files are renamed in the recycle bin. For example, DC0.DOC, DC1.DOC, DC2.DOC, ect.. Typically the hidden file INFO2 contains the original name.

::change to c:\recycled
cd \recycled
:: list files
attrib *.*
:: open info2 with edit - to find filenames
edit info2
:: move files from recycle bin
move dc1.doc c:\windows\desktop\OldName.doc

god i'm bored.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
I've already looked in info2, and it's mostly gibberish. And It doesn't say what these 5 files are or why I can't see them.

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Ok, I just checked out my roommates Win98 laptop. Looks like things are very simple. the INFO2 file exists if there's trash in the bin, but it is deleted if you have no more files. So do this at the command-prompt

attrib -H C:\RECYCLED\*.*
move C:\RECYCLED\desktop.ini C:\desktop2.ini
del C:\RECYCLED\*.*
move C:\desktop2.ini C:\RECYCLED\desktop.ini

And your problems should be solved.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
Actually, I already tried all that, and I don't even have a desktop.ini file in there!

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
You didn't do this command did you...

attrib -H C:\RECYCLED\*.*

that is very very important. While in Win2k, you can see all files by doing a "dir /a", this is NOT the case in Win98. You MUST remove the hidden flag for it to display all (unless the dir command has changed between Win98 and 2k.).


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
Yeah, I did.

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
alright, then maybe you STILL can't see it, then I'd shoot in the dark:

notepad C:\RECYCLED\desktop.ini

If THAT doesn't work, then for sure it's not in there. You can type this at the Run prompt if ya want.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
Hmm, that's odd. I already emptied the recycle bin of these invisible items, because I'm about to reinstall windows anyway and I just wanted to see if that would fix the problem (it did). Now I have the desktop.ini file, and no info2.
Wait, didn't you say you only have that when there's stuff in there?
Maybe it was like that because it said there was stuff in there but there wasn't.

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
ya, my guess is that before you had a INFO2 file but no actual files in there. Perhaps that guy who screwed up your computer deleted them manually. Removing the INFO2 file woulda fixed it.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Jun 2002
Posts: 168
Member
OP Offline
Member
Joined: Jun 2002
Posts: 168
...The weird thing is, I deleted the info2 file, and it came back exactly the same. And the "problem" was still there.


Link Copied to Clipboard
Member Spotlight
Posts: 30
Joined: June 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 7.7.5