发新话题
打印

[操作应用] Windows操作系统使用记录自动清除技巧

您是第1138个浏览者

Windows操作系统使用记录自动清除技巧

一、让XP关机时自动清理页面文件  使用电脑时,一些Word文档或者打开的网页等就会被载入到内存,而为了节省出内存空间,Windows会把不同的文件放到系统的页面文件中,页面文件就象一个临时仓库。微软提供了一种方法可以在关闭Windows XP时自动清理页面文件,默认情况下这一功能是关闭的,下面我们将介绍如何启用这一功能。不过要注意的是,启用这一功能后,因为要执行清理操作,所以关机时间将会变长。(相关文章:XP网络不能互访的解决之道)) r) F" ^7 `+ u( x* x2 b+ \9 n; P
  操作步骤2 e% P' J$ g; R7 [+ o
  1.单击“开始”菜单, 单击“运行”,在对话框中输入“Regedit”,然后单击“确定”,运行“注册表编辑器”。如果不熟悉注册表知识,可以先看一下这里。- K" |! G+ T9 p$ ?5 A6 j9 B6 m: V
  2.浏览到“HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management”,然后在右边的列表中双击“ClearPageFileAtShutdown”。3 v( P; ?  u, \2 J
  3.在弹出的“编辑DWORD”值对话框中,选择基数为十六进制,并将左边的“数值数据”改为1,这样就启用了关机时自动清理页面文件功能。
) W) ]/ F7 x8 [5 n3 y8 ?+ G  4.重新启动计算机,使修改生效1 B9 h: s, {/ d) D% ?
  二、清除IE临时文件
5 b* R1 ^; |0 ]) h: }: l0 d* ^  Windows或应用程序在运行时通常都会产生临时文件,虽然部分临时文件在Windows或应用程序正常退出时会被自动删除,但由于Windows的不稳定,或者是因为程序功能的不完善,经常会有临时文件成为“漏网之鱼”。这样,随着时间的推移,临时文件逐渐堆积,不仅占用了用户宝贵的硬盘空间,而且也极大地影响了系统的运行效率。下面,笔者就如何有效地删除临时文件给出两种方法,希望能给大家一些启示。# A7 ]% r! n% q' J$ A) h; G) p
  方法一:打开“开始”菜单,选择“搜索→文件或文件夹”,然后在对话框的“要搜索的文件或文件夹名为”栏内输入“*.tmp”(tmp为临时文件的后缀名),在对话框的“搜索范围”栏的下拉列表中选择“本机硬盘驱动器”,单击“搜索选项”,勾选“高级选项”及其下的“搜索子文件夹”项,最后单击“立即搜索”按钮。待搜索完毕后,切换至“搜索结果”页面,按“Ctrl+A”组合键或选择工具栏菜单的“编辑→全部选定”项选择所有的文件,按“Del”键或选择工具栏菜单的“文件→删除”项,即可一次性删除用户计算机上所有以.tmp为后缀的临时文件。; B) R6 O4 u1 M$ Z
  方法二:为了加快访问速度,IE会将曾经浏览过的网页等内容存放在Temporary Internet Files文件夹中。如果我们不希望他人从这里窥视自己的秘密,可以利用关机脚本让系统自动在关机前进行清理,这里介绍一下具体的操作(以Windows XP为例)。* Y+ R) C/ I7 e
  在“C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown”目录下,新建一个批处理文件Cleanup.bat,内容可根据需要编写。清除IE临时文件的命令为“DEL/Q/S "C:\Documents and Settings\<用户名>\Local Settings\Temporary Internet Files"”。其中参数/Q表示使用安静模式,即删除全局通配符时,不要求确认;参数/S表示从所有子目录删除文件。
7 F5 X3 ]( V: a" n9 |  单击“开始” “运行”,在运行命令框中输入“Gpedit.msc”,打开组策略窗口。在左侧的控制台树窗格中,依次展开“计算机配置” “Windows设置” “脚本(启动/关机)”节点,双击右侧详细资料窗格中的“关机”项目,在弹出的“关机属性”对话框中点击“添加”按钮,将Cleanup.bat添加为新的计算机关机脚本。设置完成后,退出组策略窗口,重新启动计算机即可。
) j! _% X( Q3 l4 r* K  s. \  方法三:打开“开始”菜单,选择“程序→MS-DOS方式”,用纯文本编辑器编辑Autoexec.bat文件(即在DOS方式下运行命令:“edit autoexec.exe”),在这个自动运行的批处理文件中,环境变量temp和tmp定义了Windows运行过程中临时文件的存储位置,默认位置为“\windows\temp”文件夹)。
/ |) h, }* a7 [2 m" m- U  原Autoexec.bat文件为: , G6 b1 t8 C. y, Y8 }3 m# c

$ W+ a' V! B$ d7 D( ^7 v  l: S  SET COMSPEC=C:\WINDOWS\COMMAND.COM
5 N* b& m! }& _& R- X9 \  SET windir=C:\WINDOWS
/ A; [. o! {/ R  SET winbootdir=C:\WINDOWS0 _7 A, R% M9 C! _+ s; ?( H
  SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
$ ?- ?$ a- H3 G  {0 k  SET PROMPT=$p$g- z% n- ~/ ?. y# a+ P0 F
  SET TEMP=c:\windows\temp
5 n& B2 U9 Z4 P9 {9 h1 J- a9 Z  SET TMP=c:\windows\temp" a7 N) n1 M6 \/ m9 C4 ^0 x7 q
  经编辑后的Autoexec.bat文件为:7 Z8 d, f, O9 J6 e
  SET COMSPEC=C:\WINDOWS\COMMAND.COM3 Z, Z7 k% X+ y+ S
  SET windir=C:\WINDOWS
/ Q* B. U, y8 v( D7 _7 [  SET winbootdir=C:\WINDOWS
9 J7 G- H, i" s& m) F, g( m. F  SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND( U! Y5 U; n# }% m1 n& S9 q* w7 @2 H
  SET PROMPT=$p$g
2 P+ k3 l  S; I6 O+ |7 v5 @  deltree /Y x:\temp(删除临时文件文件夹,其中x为该文件夹所在的驱动器)
0 G3 h: s5 @: U0 ~! [7 o5 I3 ]! C  md x:\temp(创建临时文件文件夹,X为你的盘符)# e3 y9 k8 i3 E5 |8 J' Z% s2 a/ s
  SET TEMP=d:\temp" ^# |9 ]5 l5 o: O* b9 e6 Q
  SET TMP=d:\temp
! g0 I+ A3 G: h- y  文件编辑完毕后存盘即可。经过以上的设定,用户以后每次启动计算机都会自动删除临时文件。0 R" [8 N4 M) P+ |  c* H- Y
  三、清除IE地址栏记录4 g- f6 {( U( t0 S+ P. X! V
  前面清除的IE历史记录还不够彻底,当我们在IE地址栏中输入与曾经输入过的URL一样的字符串时,仍会显示出相关的网址记录。要想清除这些记录,则必须将注册表[HKEY CURRENT USER\Software\Microsoft\Internet Explorer\TypedURLs]分支下的键值全部删除。  b) B4 I. c7 r8 o
  用记事本创建一个脚本文件,脚本内容如下:
# t) K4 @# k$ w" B  Dim WSHShell
. _& \3 r" t; E! l0 V) E, B! y  Set WSHShell = WScript.CreateObject("WScript.Shell")
0 G/ q% W( P. ^  WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\TypedURLs\", ""WSHShell.RegDelete "HKCU\Software\Microsoft\Internet Explorer\TypedURLs\"上述脚本共有四句:第一句定义一个变量WSHShell,第二句创建一个对象,第三句写入注册表,如果注册表中不存在该项,执行脚本时会出现错误提示。输入以上内容后将其保存为Cleanup.vbs。注意,后缀名一定要是vbs,这样才能保证脚本的正常执行。5 R+ o1 y/ C* y7 l
  编写完成后,在组策略窗口中依次展开“用户配置” “Windows设置” “脚本(登录/注销)”节点,双击右侧窗格中的“注销”项目,在弹出的“注销属性”对话框中点击“添加”按钮,将Cleanup.vbs添加为注销脚本。这样,当计算机注销或关机时就会自动清除IE地址栏记录。
0 r) U9 f" ~% j  前面介绍了利用关机和注销脚本自动清理上网痕迹的方法,如果你还有其它的项目需要清理,也可以参照上述方法。这里要提醒读者的是,利用脚本实现自动清理前,最好先用手工方式彻底清理一次。5 q  V- J# a6 |# p; {( o
  四、清除IE历史记录6 O* `6 q) Y) u' F5 y; }: X3 J
  清除IE历史记录通常的方法是“Internet选项” “常规” “清除历史记录”。不过,我们同样可以利用关机脚本来实现自动清理。在前面建立的Cleanup.bat批处理文件中添加一条命令“DEL/Q/S "C:\Documents and Settings\<用户名>\Local Settings\History"”即可。

TOP

通常临关机前都会用优化大师清一次··········

TOP

优化大师就可以搞掂晒,而且除佐第一项,其余的清理系统都有清理工具!

TOP

引用:
原帖由 Laputa81 于 2008-1-12 13:17 发表 $ ?! D9 {/ k* `+ D$ Q! K
通常临关机前都会用优化大师清一次··········
" S# C& L' h$ x6 }- f. c2 T
你個優化大師有用既咩!!!

TOP

好象很有用,先试一下。

TOP

好複雜
/ p7 @- K0 y4 ?! N" F9 e4 t9 L不太敢試

TOP

发新话题
本功能由奇虎问答实现

相关主题

标题 作者 最后发表
[站外] Windows 系统45个小技巧   [转帖] zhangyong704365 2008-12-31
[站外] 技巧 解决IE浏览器无法浏览网页难题   [转帖] 风雪 2008-12-31
[站外] 绝对经典的电脑技巧   [转帖] 楚天 2008-12-31
点击阅读更多关于的相关帖子  更多相关主题
3G mobile phone applications of the times change (B) ... ... with the development of the business model changes

  In June 2006, Motorola NEC, NTT DoCoMo, Samsung Electronics and Vodafone, and other companies started to build a smart phone for the reunification of the Linux platform. In January 2007, the smart phone operating system provider Symbian official in Beijing announced the establishment of the China branch. In the past 3 years, the Chinese market for Symbian has created a global share of 10%. In February 2007, Microsoft announced that South Korean handset maker LG Electronics and Japanese mobile operator Soft Bank to become its Windows Mobile operating system, cell phone customers. ... ... In the global smart phone behind the rapid growth, several major mobile phone operating system, the forces of "one-third of the world," the pattern is rapidly brewing in the new variables. The dramatic changes in the market, will also gradually on the mobile phone application software development and business model have a profound impact.

  Symbian: by providing the flexibility to customize the user interface framework to enable mobile phone manufacturers to introduce a different style interface. To the core Symbian, Nokia has developed S40, S60, S80, and so on a variety of operating systems and applications, to authorize the use of other companies. With many years of accumulation of technology, Symbian smartphones in the area with the highest market share. The main camp of its major vendors including Nokia, Arima, BenQ, Fujitsu, Lenovo, LG, Ericsson, Mitsubishi, Panasonic, Samsung, Sharp, Sony Ericsson and so on. At present, Symbian has set up branch offices in China, is about to launch the industry, specifically for Chinese engineers to develop the institutions of Symbian certification exam, as well as China's Symbian developer community to provide training and support, including the provision of the Chinese developers and materials Local developers, and other activities. A number of independent developers such as China's grand digital red, and so on, has become certified through the Symbian joint development partners.

  Linux: The system is due to the Open Source (open source) features in favor of independent developers to develop high utilization of hardware, powerful mobile applications, and the full realization of low-cost control. Moreover, Linux system will also facilitate enterprise mobile applications and their close connection with the application of a variety of industries, and develop their own security, controlled certification system. Motorola is currently the most important mobile Linux a strong supporter of the (recent reference to the popular A1200 "Ming" smartphone series), the camp also includes NEC, Panasonic, Samsung, NTT DoCoMo, Vodafone and so on. The Linux-based smartphone currently occupy second place market share, making Symbian strong challenger. However, the standardization of mobile Linux has not been a good solution, which will over time lead to Linux-based mobile phone third-party software development is restricted.

  Windows Mobile: the PC operating system monopoly of Microsoft, including Smart Phone and Pocket PC Phone two-level platform. Usually corresponds to the phone hardware (CPU, memory, memory card) high performance strong. Its main camp, including Microsoft, Dopod, Palm, Sony Ericsson, Samsung, HTC, LG, Soft Bank, and so on. At present, most of the vendors are beginning to try to add support for Windows Mobile, and Microsoft Windows Mobile will be as part of its overall corporate strategy, trying to build across the mobile, PC, home appliances, such as the Internet's new multi-platform industrial chain. Windows Mobile is also the current market share is very small, but it does not prevent it from becoming one of the most threatening rivals.

  We can see that some companies (such as LG Electronics) for a variety of platforms have been taken inclusive. In addition to this manufacturer's own wait-and-see factor, also indicates that the petition must show a number of the next operating system have equal shares of common prosperity emerged. RIM, including the Black Berry, the iPhone, Apple Mac OS platform, and other than the closed, nor rule out the possibility that one day China will enter the open door policy and strategy might be.

  At present, Chinese mobile phone software applications to a single treasure chest of K-Java-based games. Follow the development model of its mobile operators to develop value-added business development of the SP standards by the CP (usually phones Game Studios) design and development, to the SP operation, and then through the Treasure Box Monternet platform announced. This is a relatively simple development model, this model can not be denied that laid the cornerstone of the treasure chest of business for the 2.5G mobile value-added services has created tremendous value. However, if the 3G mobile application platform on the environment, it has three problems: First, the developers did not face the end-user demand; Secondly, the developer is not involved in the operation of the product; Third, the development of In the types of products, product features and so on to great limitations. All these problems will greatly limit the 3G mobile phone applications.

  The era of 3G mobile application software development and operations, will be in the following four areas show significant features:

Diversified platform:

  Independent developers (ISV) will no longer be faced only by mobile operators to develop a simple SP value-added business development standards, but to meet the needs of the corresponding development of the smart phone operating system provider of product development norms. In my experience over the Symbian platform game research and development, Nokia and has studied the development of SGR thickness of the dozens of pages of documents (Standard Game Requirement), well aware of the product development of such norms in the complexity of the mobile operators with a simple business norms SP There are several orders of magnitude difference. Once the product development of standards by the operating system provider available, the industry chain is bound to focus on the shift took place, mobile operators and providers of the operating system it will then start the game. For example, to manufacturers such as Nokia's Symbian-based alliance on a global scale has been set up large community of software developers, and the official certification of the Symbian software for the establishment of a threshold issue, at the same time brought together a group of elite partners in development cooperation.

Product transition to the service:

  3G mobile application platform on the CP and SP, it will become increasingly blurred the boundaries between. With the mobile phone software, more and more areas are Online features, traditional stand-alone software development model will be totally subversive, as the original developer of the CP will be increasingly forced to operate into the product to work. This is not just the 3G features, and is also the world's software industry development trend of a unified, that is, from "selling products" to "sell" the change. Taking a panoramic view of the Chinese game industry, in essence, has achieved the first game from the stand-alone products to the online game service changes. In "SaaS" (Software As A Service) driven by the tide, the software itself will be increasingly free of charge, and profit model will gradually shift by service charges. QQ's IM software features are provided free of charge, but the QQ Show, casual games such as the need to pay value-added services, it is an excellent case in point. In this mode, CP and the SP boundaries have disappeared, product development and service providers must assume the same role, and to market directly to end-users in charge.

The inter-network integration:


  The next-generation mobile phone applications and tend to become more PC / Internet application integration, and complement each other to form the symbiotic relationship. Nokia's executive vice president and CTO Outai Luo has said publicly: "The first priority is to embrace the Internet." With the phone's functions by simply gradually communication (Communication) to the terminal complex computing (Computing) terminal change, and the PC / Internet integration will become the trend of the times. We have a little look at recent major high-end mobile phone business of advertising, will find mobile Office suite, mobile MSN / QQ client often become the focus of the eye-catching. Microsoft's Windows Mobile operating system is through with the PC version of Windows and Office suite of highly compatible and rapidly seize market share. Integration of these applications do not even need through mobile operator's network, and only by USB, Bluetooth, infrared or Wi-Fi can be achieved with Internet connections. Nokia has introduced support for the Wi-Fi phone products, and the support of a section of the mobile phone application Skype is also alleged to have come out.

Mixed market segments:

  The era of 3G mobile phone applications is a must for the breakdown of Nagao high (Long Tail) market, therefore the form of software will show a high degree of alienation mixed. As the cell phone privacy, and other characteristics of each end-user will need a high degree of personalized custom software products. Faced with such a chaotic market demand, the traditional top-down management system and software categories will be overwhelmed and collapse, with the need to become agile and software will be provided to create a new market model. For example, users may need a fully integrated Google map and Flickr photo-sharing "mash" services, according to the traditional tree of your software system will be very difficult to be attributed to a particular category. Has been up-and-coming Pica, thumb, and other software are sky is the case. At the same time, high-precision camera, streaming media players, GPS positioning module components, such as the introduction of mobile phones will make the application of increasingly complex patterns, and a high degree of flexibility to integrate a variety of hardware and software resources.

  All of the above changes, in fact, has been in the 2.5G era in the late can see the shape. For example, the recent popular mobile phone software Pica (PICA), met at the same time: support for the smart phone operating system, the development and operation of unity, the Internet and IM interoperability, features a variety of "mix" (instant messaging, VoIP, blog, , ... ...) And so on all the features. Although Pica, and other free services is not in the mobile operator SP supervision, but this is the real market demand driven by the mobile operators themselves have to face this sooner or later.