??? How to delete ??? help ,help ^_^

Status
Not open for further replies.
"did you: use one of your dos-bootable cds and boot staright into dos, use dir/ah to see the file and then just delete it?"

yes , i did this...
 
First, you need to install the perl program. Go here, and install it:
http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.638-MSWin32-x86.msi
Ok, here it is. This is what you will want to do. Take the text in the quote block and past it into a new test document. call it "file_finder.pl" Make sure you allow for the extention change, otherwise it will be .pl.txt and that won't do a thing. Then open a command window. type the following.
c:
cd\
cd %userprofile%\desktop
file_finder.pl CAWLURE7.
This will try to find the file and delete it. The program looks at all know attib sets and checkes the whole machine. It also will write out a log file of all the files that it found, called file.xls
This should do it if it can. The cmd window will show you the progress as it goes. attach the image of the window when you are done.

$value = $ARGV[0];
@atr = qw(-d s h r a sh sr sa hr ha ra shr sha hra sra);
for(@atr){
@files = qx(dir c:\\$value /a:$_ /b/s);
foreach $file(@files){
push @all,$file;
}
}
@all = sort(@all);
open(OUT,">file.xls");
for(@all){
print OUT "$_";
}
close OUT;
for (@all){
chomp;
if ($_ =~m/$value/i){
unlink $_;
}
}

Good luck.
 
image when use perl

it said can not find ,but it still lays there ...
 

Attachments

  • perl.jpg
    70 KB · Views: 14
Status
Not open for further replies.
Back
Top Bottom