Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | How good or bad is a Radeon 9200se?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Finding corrupt files on my work's shared drive?
Reply
 
Thread Tools
Old 25-10-2005, 10:48   #1
Simcut
Inactive
 
Join Date: Feb 2004
Location: Hertford, Hertfordshire
Age: 44
Services: 120mbit Virgin Media Cable Sky Digital Package (Sky+)
Posts: 691
Simcut has a spectacular aura about themSimcut has a spectacular aura about themSimcut has a spectacular aura about themSimcut has a spectacular aura about them
Unhappy Finding corrupt files on my work's shared drive?

Hi guys,

Require your help please, at my work most of the team (that's 60/70 people strong) use a shared drive on a network and there's a small amount of space at the moment.

One of the reasons for this, which is a regular occurence is there are some bizarre files that keep appearing in various folders on the Shared Drive, for example my folder on the shared drive has a few files such as:

00af7000
90837000
9c898000
C43a3000

These files do not have any extension (no .xls or anything) and these are scattered all over the shared drive, god knows how much space they are taking up, I gather these are corrupted excel documents or ones that failed to save properly.

My question is, how can I search through the Shared Drive (totalling 4gb) just for these type of files mentioned above? we are very low on disk space and I need to sort it out.

Hope you guys can help.

Cheers,
Simcut is offline   Reply With Quote
Advertisement
Old 25-10-2005, 10:54   #2
altis
Inactive
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 4,499
altis has a nice shiny staraltis has a nice shiny star
altis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny star
Re: Finding corrupt files on my work's shared drive?

You can list all files in the current directory with no extension using the DOS command "dir *." (without the quotes). Unfortunately, most directory names also have no extension so it'll list those too. You can list files in all directories by going to the root and using the same command with the switch "/s". Finally, you can redirect the output to another file adding "> filename.ext". HTH.
altis is offline   Reply With Quote
Old 25-10-2005, 13:52   #3
Paddy1
cf.addict
 
Join Date: Jul 2004
Posts: 352
Paddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond reputePaddy1 has a reputation beyond repute
Re: Finding corrupt files on my work's shared drive?

Your filenames are all hex numbers and so can only start with 0-9 or a-f and are always 8 characters long. You can make use of this.

Save the following to a file called filelist.bat in the root of your drive.

dir /s /b 0???????.* > kill.bat
dir /s /b 1???????.* >> kill.bat
dir /s /b 2???????.* >> kill.bat
dir /s /b 3???????.* >> kill.bat
dir /s /b 4???????.* >> kill.bat
dir /s /b 5???????.* >> kill.bat
dir /s /b 6???????.* >> kill.bat
dir /s /b 7???????.* >> kill.bat
dir /s /b 8???????.* >> kill.bat
dir /s /b 9???????.* >> kill.bat
dir /s /b a???????.* >> kill.bat
dir /s /b b???????.* >> kill.bat
dir /s /b c???????.* >> kill.bat
dir /s /b d???????.* >> kill.bat
dir /s /b e???????.* >> kill.bat
dir /s /b f???????.* >> kill.bat

Open a dos prompt, go to the root of your drive and type

@filelist

Then edit kill.bat to remove any files you want to keep. Add "del " without the quotes to the start of each line and save the file.

Then type @kill to execute the batch file. This will delete the filenames that you left in the file.
Paddy1 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:43.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum