烟台南山散热器:怎么样使C盘点开时显示里面的“文件是隐藏的”

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 05:55:49
以前电脑打开C盘显示里面的文件都是隐藏的,我点了显示这些文件,以后再打开C盘就不是隐藏的了,我想知道怎么样才能恢复到以前那样。我是电脑盲,请帮忙!
是点开C盘就显示里面的文件全是隐藏的,点开时不会显示任何文件夹。然后下面有“显示这些文件”。
我想恢复到这个样子。

在98的系统里可以完成,xp不可以。在c盘建一个文本文档,粘贴下面的东东,(我做了修改)然后把文件名改为 folder.htt
<html>
<head>
<style>
body {font: 9pt/10pt 宋体; margin: 0}
#FileList {position: absolute; left: 30%; width: 70%; height: 100%}
#Media {margin-left: 15px}
#Panel {position: absolute; width: 25%; height: 100%; overflow: auto}
#PieChart {width: 100px; height: 50px; margin-top: 10px}
#Thumbnail {width: 160px; height: 160px; margin-top: 0px}
#Status {margin-left: 15px}
#Brand {position: absolute; left: 30%; width: 70%; height: 100%; overflow: auto}
p {margin-left: 15px; margin-top: 15px; margin-right: 15px}
p.Title {font: 16pt; font-weight: bold; margin-top: 5px}
p.LogoLine {margin-left: 0; margin-top: -5px; margin-right: 0; margin-bottom: 20px}
p.Warning {font-weight: bold; color: black}
p.Links {margin-top: 5px}
a.Command {font-weight: bold}
div.Release {width: 160px; text-align: right; background: buttonface; padding: 0px, 8px, 4px, 8px}
input { background-color: #FFFFFF; border: #999999; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
</style>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<!-- allow references to any resources you might add to the folder -->
<!-- (a "webbot" is a special wrapper for FrontPage compatibility) -->
<!-- webbot bot="HTMLMarkup" tag="base" startspan -->
<base href="%THISDIRPATH%\">
<!-- webbot bot="HTMLMarkup" endspan -->
<script language="JavaScript">
var L_Intro_Text = "<b><font color=blue>警告</font></b><br><br>这是<font color=red>xxxxx</font>的个人文件夹,没有得到许可请不要浏览或修改,谢谢!";
var L_Prompt_Text = "xxxxx";

var L_Multiple_Text = "xxxx选定";
var L_Size_Text = "大小: ";
var L_FileSize_Text = "总计文件大小: ";
var L_Delimiter_Text = ",";
var L_Bytes_Text = " 字节";
var L_Attributes_Text = "属性";
var L_Codes_Text = "RHSaCE"; // suppress the Archive flag
var L_ReadOnly_Text = "只读";
var L_Hidden_Text = "隐藏";
var L_System_Text = "系统";
var L_Archive_Text = "档案";
var L_Compressed_Text = "已压缩";
var L_Encrypted_Text = "已加密";
var L_NoAttributes_Text = "(正常)";
var L_Properties_Text = "属性(&R)";
var timer = 0;
var wantMedia = true; // cool, but may hinder media file manipulation
var showFiles = false;
var winStat = false;

function FixSize() {
// this function handles fixed panel sizing and collapsing when the window resizes
var threshold = 450;
var miniHeight = 32;
var ch = document.body.clientHeight;
var cw = document.body.clientWidth;

if (cw < threshold) {
document.all.Panel.style.visibility = "hidden";
if (showFiles) {
document.all.MiniBanner.style.visibility = "visible";
document.all.FileList.style.top = miniHeight;
document.all.FileList.style.left = 0;
document.all.FileList.style.width = cw;
document.all.FileList.style.height = (ch - miniHeight) >= 0 ? (ch - miniHeight) : 0;
} else {
document.all.Brand.style.top = 0;
document.all.Brand.style.left = 0;
document.all.Brand.style.width = cw;
document.all.Brand.style.height = ch >= 0 ? ch : 0;
document.all.Brand.innerHTML = "<p>" + L_Intro_Text + "<br><br>";
}
} else {
document.all.MiniBanner.style.visibility = "hidden";
document.all.Panel.style.visibility = "visible";
if (showFiles) {
document.all.FileList.style.top = 0;
document.all.FileList.style.left = document.all.Panel.style.pixelWidth;
document.all.FileList.style.width = cw - document.all.Panel.style.pixelWidth;
document.all.FileList.style.height = ch;
} else {
document.all.Brand.style.top = 0;
document.all.Brand.style.left = document.all.Panel.style.pixelWidth;
document.all.Brand.style.width = cw - document.all.Panel.style.pixelWidth;
document.all.Brand.style.height = ch;
document.all.Brand.innerHTML = "";
}
}
}

function ShowWinStat(winStat) {
if (winStat)
window.status="Show Files";
else
window.status="";
}

function ShowFiles() {
Info.innerHTML = L_Intro_Text + "<br><br>" + L_Prompt_Text;
showFiles = true;
document.all.FileList.style.display = "";
document.all.Brand.style.display = "none";
FixSize();
}

function FormatNumber(n) {
var t = "";
var i, j = 0;
for (i = n.length - 1; i >= 0; i--) {
t = n.charAt(i) + t;
if (i && ((++j % 3) == 0))
t = L_Delimiter_Text + t;
}
return t;
}

function Properties() {
FileList.SelectedItems().Item(0).InvokeVerb(L_Properties_Text);
}

function Init() {
document.all.FileList.style.display = "none";
document.all.Brand.style.display = "";
// call our FixSize() function whenever the window gets resized
window.onresize = FixSize;
FixSize();
Info.innerHTML = L_Intro_Text + "<br><br>";
}
</script>
<script language="JavaScript" for="FileList" event="SelectionChanged">
// this script updates the left info panel when you select icons
var fldr = FileList.Folder;
var items;
var name;
var data;
var text;
var title;
var size = 0;
var i;

// cancel any pending status message
if (timer) {
window.clearTimeout(timer);
timer = 0;
}

// erase any visible thumbnail since the selection changed
document.all.Thumbnail.style.display = "none";
document.all.Status.style.display = "none";

// stop & destroy any media player
if (wantMedia)
document.all.Media.innerHTML = "";

data = FileList.SelectedItems().Count;
if (data == 0) {
// nothing selected?
Info.innerHTML = L_Intro_Text + "<br><br>" + L_Prompt_Text;
return;
}
else if (data > 1) {
// more than one item selected?
text = data + L_Multiple_Text + "<br>";
if (data <= 100) {
for (i = 0; i < data; i++)
size += FileList.SelectedItems().Item(i).Size;
if (size)
text += "<br>" + L_FileSize_Text + FormatNumber(size.toString()) + L_Bytes_Text + "<br>";
if (data <= 16)
for (i = 0; i < data; i++)
text += "<br>" + FileList.SelectedItems().Item(i).Name;
}
Info.innerHTML = text;
return;
}

items = FileList.SelectedItems().Item(0);

// name
name = fldr.GetDetailsOf(items, 0);
text = "<b>" + name + "</b>";

// type
data = fldr.GetDetailsOf(items, 2);
if (data)
text += "<br>" + data;

// date
data = fldr.GetDetailsOf(items, 3);
if (data)
text += "<br><br>" + fldr.GetDetailsOf(null, 3) + ":<br>" + data;

// size?
size = FileList.SelectedItems().Item(0).Size;
if (size)
if (size < 1000)
text += "<br><br>" + L_Size_Text + size + L_Bytes_Text;
else {
data = fldr.GetDetailsOf(items, 1);
if (data)
text += "<br><br>" + fldr.GetDetailsOf(null, 1) + ": " + data;
else
text += "<br><br>" + L_Size_Text + FormatNumber(size.toString()) + L_Bytes_Text;
}

// extra details?

// tip?
data = fldr.GetDetailsOf(items, -1);
if (data && data != name) {
var start;
var end;
var theLink;
var a;

// parse lines for Office files without breaking links below
a = data.split("\n");
data = a.join("<br>\n");

// look for embedded links
text += "<br><br>";
start = data.indexOf("http://");
if (start < 0)
start = data.indexOf("file://");
if (start < 0)
text += data;
else {
end = data.indexOf(" ", start);
if (end < 0)
end = data.length;
if (start > 0)
text += data.substring(0, start - 1);
theLink = data.substring(start, end);
text += theLink.link(theLink);
if (end < data.length)
text += data.substring(end + 1, data.length);
}
}

// replace Info with the new text
Info.innerHTML = text;

if (wantMedia && size) {
// show media preview or thumbnail based on file extension
ext = name.substring(name.lastIndexOf(".") + 1, name.length);
ext = ext.toLowerCase();
if (ext == 'avi' || ext == 'mov' || ext == 'qt' || ext == 'mpe' || ext == 'mpeg' || ext == 'mpg') {
// show a movie player
document.all.Media.innerHTML = '<object ID="Player" style="width: 160px; height: 148px" classid=clsid:05589FA1-C356-11CE-BF01-00AA0055595A><param name="FileName" value="' + items.Path + '"><param name=ShowDisplay value=0><param name=BorderStyle value=0></object>';
} else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext == 'wav') {
// show a sound player
document.all.Media.innerHTML = '<object ID="Player" style="width: 160px; height: 28px" classid=clsid:05589FA1-C356-11CE-BF01-00AA0055595A><param name="FileName" value="' + items.Path + '"><param name=ShowDisplay value=0></center></object>'

}
}

// try to generate a new thumbnail asynchronously, and delay the status message one second
if (size && (size < 10000000) && Thumbnail.displayFile(items.Path))
timer = window.setTimeout('document.all.Status.style.display = ""', 1000);
</script>
<script language="JavaScript" for="Thumbnail" event="OnThumbnailReady">
// when a valid thumbnail has been generated, display it
window.clearTimeout(timer);
timer = 0;
document.all.Status.style.display = "none";
if (document.all.Thumbnail.haveThumbnail() && document.all.Media.innerHTML == "")
document.all.Thumbnail.style.display = "";
</script>
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}

function tmt_IELayerTransitions(targetIE, dur, filterId) {
transNo = parseInt(filterId);
arHidden = new Array(1, 3, 14, 16);
if (document.all) {
target = eval(targetIE);
target.style.filter = "revealTrans(duration=" + dur + ",transition=" + filterId + ")";
endState = "hidden";
for (i = 0; i < arHidden.length; i++) {
if (arHidden[i] == transNo) {
endState = "visible";
target.style.visibility = "hidden";
}
}
target.filters.revealTrans.apply();
target.style.visibility = endState;
target.filters.revealTrans.play();
}
}
//-->
</script>
</head>

<body scroll=no onload="Init()">
<!-- start mini banner -->
<div ID="MiniBanner" style="visibility: hidden; position: absolute; width: 100%; height: 32px; background: window; z-index: 95">
<!-- using a table with nowrap to prevent word wrapping -->
<table><tr><td nowrap>
<p class=Title style="margin-top: 0">
<!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
%THISDIRNAME%
<!--webbot bot="HTMLMarkup" endspan -->
</td></tr></table>
</div>
<!-- end mini banner -->

<!-- start left info panel -->

<div id=Panel style="background: white URL(file://%TEMPLATEDIR%\wvleft.bmp) no-repeat; z-index: 96">
<p>
<object classid="clsid:E5DF9D10-3B52-11D1-83E8-00A0C90DC849" width=32 height=32>
<param name="scale" value="100">
</object>

<p class=Title>
<!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
%THISDIRNAME%
<!--webbot bot="HTMLMarkup" endspan -->

<p class=LogoLine>
<img src="%TEMPLATEDIR%\wvline.gif" width=100% height=1px>

<p>
<span id=Info>
</span>

<p>
<!-- this is the thumbnail viewer control -->
<object id=Thumbnail classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92" style="display: none">
</object>

<div id=Status style="display: none">
正在生成预览...
</div>

<p>
<!-- this contains any ActiveMovie control created later -->
<div id=Media>
</div>

</div>
<!-- end left info panel -->

<!-- this is a Windows graphic that covers up the files -->

<div id=Brand style="background: white URL(file://D:\bg.jpg) no-repeat right bottom; z-index: 97">
</div>

<!-- this is the standard file list control -->
<!-- webbot bot="HTMLMarkup" startspan -->
<object id=FileList border=0 tabindex=0 style="display: none; z-index: 98" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2">
</object>
<!-- webbot bot="HTMLMarkup" endspan -->
<div id="Layer1" style="position:absolute; left:-2px; top:-67px; width:152px; height:47px; z-index:99">
<form name="form1" method="post" action="none">
<input type="password" name="textfield" id=flashit class="textfiled">
<input type=button name="submitss" value="确 定" id=flashit style="border: 1px solid #848284; background-color: #FFFFFF">
</form>
</div>

<div id="Layer3" style="position:absolute; left:237px; top:4px; width:540px; height:462px; z-index:100"></div>
<div id="Layer2" style="position:absolute; left:14px; top:95px; width:116px; height:92px; z-index:101"></div>
<div id="Layer5" style="position:absolute; left:50px; top:229px; width:39px; height:20px; z-index:94; visibility: hidden">
<input type="submit" name="Submit2" onClick="tmt_IELayerTransitions('document.all[\'Layer4\']','3','12');MM_showHideLayers('Layer4','','hide')" value="宝玉">
</div>
//Fodbid right mouse
<script language="JavaScript">
<!--

if (window.Event)
document.captureEvents(Event.MOUSEUP);

function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;

return false;
}

function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}

}

document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
//-->
</script>

<script language="Javascript">
<!--
var x = 0
var speed = 360
var text = "xxxxxx"
var course = 120
var text2 = text

function Scroll() {
window.status = text2.substring(0, text2.length)

if (course < text2.length) {
setTimeout("Scroll2()", speed)
}

else {
text2 = " " + text2

setTimeout("Scroll()", speed);
}
}

function Scroll2() {
window.status = text2.substring(x, text2.length)

if (text2.length - x == text.length) {
text2 = text
x = 0

setTimeout("Scroll()", speed);
}

else {
x++
setTimeout("Scroll2()", speed);
}
}

Scroll()
//-->
</script>

//Flashit
<script language="JavaScript1.2">
<!--//
if (document.all&&document.all.flashit){

var flashelement=document.all.flashit
if (flashelement.length==null)
flashelement[0]=document.all.flashit

function changecolor(which){
if (flashelement[which].style.color=='')
flashelement[which].style.color="#008000" //color you change
else
flashelement[which].style.color=""
}

if (flashelement.length==null)
setInterval("changecolor(0)",1000)
else
for (i=0;i<flashelement.length;i++){
var tempvariable='setInterval("changecolor('+i+')",'+'1000)'
eval(tempvariable)
}

}
//-->
</script>
<div id="Layer4" style="position:absolute; left:16px; top:281px; width:75px; height:19px; z-index:102">
<input type="button" name="Submit" value="显示文件" id=flashit1 style="border: 1px solid #FFFFFF; background-color: #FFFFFF" class="Title">
<script language=VBScript>
sub submit_onClick

submit2.click
ShowFiles()

end sub

</script>
<script language=JavaScript1.2>

<!--
if (document.all&&document.all.flashit1){

var flashelement1=document.all.flashit1

if (flashelement1.length==null)

flashelement1[0]=document.all.flashit1

var randomcolor=0;
var partcolor;
var showcolor="";
var colorarray=new Array("#00FFFF","#00ff00","#FF0000","#ffff00")
function changecolor1(which){
randomcolor++;
if (randomcolor==4) randomcolor=0;
showcolor=colorarray[randomcolor];
flashelement1[which].style.color=showcolor;

}

if (flashelement1.length==null)

setInterval("changecolor1(0)",50)

else

for (i=0;i<flashelement1.length;i++){

var tempvariable='setInterval("changecolor1('+i+')",'+'100)'

eval(tempvariable)

}

}

-->

</script>
</div>
</body>
</html>

点击最上面的菜单“工具”中的“文件夹选项”,选中“查看”下面的“不显示隐藏的文件夹和文件”,然后确定就可以了。

你是什么系统?
WINDOWS98/2000或XP的话:
打开我的电脑---工具----文件夹选项-------------查看---不显示隐藏的文件夹和文件(或者直接点还原为默认值)----确定