UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
September
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Sponsored Links
Latest Postings
The History Thread...
by Gremelin
Yesterday at 09:42 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
Latest Reviews
Topic Options
Rate This Topic
#10333 - 07/02/02 04:37 AM What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
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!

Top
Sponsored Links
      
#10334 - 07/02/02 07:28 AM Re: What the...? (Little help please)
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
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 and attrib -S and attrib -S -H 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

Top
#10335 - 07/02/02 08:54 AM Re: What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
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.

Top
#10336 - 07/02/02 09:08 AM Re: What the...? (Little help please)
Gremelin Online   shocked

Community Owner
*****

Registered: 02/28/02
Posts: 7193
Loc: Portland, OR; USA
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, Elite Web Gamers & VNC Web Design Owner

Top
#10337 - 07/02/02 09:17 AM Re: What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
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.

Top
#10338 - 07/02/02 03:43 PM Re: What the...? (Little help please)
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
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

Top
#10339 - 07/03/02 05:23 AM Re: What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
Posts: 168
Actually, I already tried all that, and I don't even have a desktop.ini file in there!

Top
#10340 - 07/03/02 05:42 AM Re: What the...? (Little help please)
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
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

Top
#10341 - 07/03/02 05:49 AM Re: What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
Posts: 168
Yeah, I did.

Top
#10342 - 07/03/02 11:46 AM Re: What the...? (Little help please)
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
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

Top
#10343 - 07/04/02 07:04 AM Re: What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
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.

Top
#10344 - 07/04/02 08:09 AM Re: What the...? (Little help please)
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
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

Top
#10345 - 07/04/02 01:47 PM Re: What the...? (Little help please)
Paragon Offline
Member

Registered: 06/14/02
Posts: 168
...The weird thing is, I deleted the info2 file, and it came back exactly the same. And the "problem" was still there.

Top

Moderator:  Infinite 
Featured Member
Registered: 08/22/14
Posts: 1
Forum Stats
2148 Members
46 Forums
34498 Topics
69668 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27660
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Tim050, Gecko666, defghi795767, Devo60, ali
2148 Registered Users
Who's Online
1 registered (Gremelin), 280 Guests and 347 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!