使用命令行设置为pagefile.sys的常用命令
In remote control, command line is needed to set up pagefile.sys, and command line is more needed when installing core of Windows Server 2008.Now share the common commands that use the command line to set up the pagefile.sys.在命令行中,pagefile.sys工具用于设置是WMIC 自从你不提及你的需要设置,小编辑给出了几个常用命令语句在这里。
如果要禁用自动页面文件,请输入:
Wmic pageflleset的名字=% computernaem %设置automaticmanagedpagefile = false
然后你可以设置页面文件通过pagefjleset命令,如创建一个网页文件来替换C:pageflle.sys,或删除页面文件等。
如果你想拥有一个固定大小的2o48mb建立pageflie,输入以下命令:
Wmic pageflleset的名字=C: 系统设置页面文件。initialsize = 2048,最大值= 2048也可以运行下面的命令来查看页面文件设置。
WMIC页面文件设置管理
或者下面的命令是相同的效果:
WMIC页面文件设置管理列表或列表格式:
在设置生效后,请记住重新设置系统。