无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 10005|回复: 55
打印 上一主题 下一主题

PECMD and Pagefile.sys in PE

[复制链接]
跳转到指定楼层
1#
发表于 2009-11-8 15:35:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
hi .i am a foreign user . but i really like some chinese tools , PECMD for instance.  i need to ask something ,is it possible to create pagefile.sys via PECMD dynamically when the PE boots ?   i use firadisk  to build a hdd image based PE with the help of winbuilder. but i am confused that how i can use PECMD to create pagefile.sys on the fly  either i use firadisk or  other option which is cab compressed which chinese build normally uses .i have seen the following thread http://bbs.wuyou.net/archiver/?tid-91524-page-10.htmlbut can not understand it . i hope someone will reply with a solution  . Thank you.Regards,Maanu from Pakistan

嗨。我是一个外国用户。但真的很喜欢一些中文工具I,例如PECMD。我要问的东西,是否有可能通过PECMD创建时动态的pagefile.sys体育靴子?我使用firadisk建立一个基于硬盘的形象与体育的winbuilder帮助。但我有点疑惑,怎么我可以使用PECMD来动态创建的pagefile.sys要么我用firadisk或其他选项,这是压缩的驾驶室中国建立正常使用。我看到下面的线程http://bbs.wuyou.net/archiver/?tid-91524-page-10.html但不明白。我希望有人会回答了解决方案。谢谢您。关心,Maanu从巴基斯坦
推荐
 楼主| 发表于 2011-8-18 06:27:04 | 只看该作者
i know it is an OLD thread , but still i would like to share.

now PECMD working ok with english . few problems there , but hopefully we will solve it .

i want to share following PECMD INI file , and few questions ,



TEAM ENVI W=%WinDir%|ENVI WS=%W%\SYSTEM32|ENVI WSD=%WS%\Drivers|ENVI T=%SystemDrive%\tools
TEAM FILE %W%\TXTSETUP.SIF*|FILE %WS%\NTOSKRNL.EXE*|FILE %WS%\win32k.sys|PATH #%WS%\CONFIG|FILE %WS%\*.*_|FILE %WSD%\*.sys
FIND MEM<128,CALL SetPageFile1
LINK %desktop%\diskgenius,%WS%\DG.EXE
LINK %quicklaunch%\diskgenius,%W%\DG.EXE
LINK %startmenu%\diskgenius,%WS%\DG.EXE
SITE %USERPROFILE%\¡¸¿a꼡12Ëμ¥\3ìDò\Æô¶ˉ,+H



CALL RegImdRk
`×¢2áIMDISKóò¼ü
_SUB RegImdRk
  REGI HKCR\Drive\shell\ImDiskSaveImage\=±SAVE IMAGE
  REGI HKCR\Drive\shell\ImDiskSaveImage\command\=rundll32.exe imdisk.cpl,RunDLL_SaveImageFile %L
  REGI HKCR\Drive\shell\ImDiskUnmount\=UNMOUNT
  REGI HKCR\Drive\shell\ImDiskUnmount\command\=rundll32.exe imdisk.cpl,RunDLL_RemoveDevice %L
  REGI HKLM\SOFTWARE\Classes\Ultraiso\shell\ImDiskMountFile\=¼óÔØÎaImDiskDéÄa′ÅÅì
  REGI HKLM\SOFTWARE\Classes\Ultraiso\shell\ImDiskMountFile\command\=rundll32.exe imdisk.cpl,RunDLL_MountFile %L
  REGI HKLM\SOFTWARE\Classes\Winimage\shell\ImDiskMountFile\=¼óÔØÎaImDiskDéÄa′ÅÅì
  REGI HKLM\SOFTWARE\Classes\Winimage\shell\ImDiskMountFile\command\=rundll32.exe imdisk.cpl,RunDLL_MountFile %L
_END

_SUB SetPageFile
       ENVI V1=Your computer is low in virtual memory which certain
       ENVI V2=programs may need to use. It improves system speed and
       ENVI V3=makes system more stable as well.
       ENVI V4=Do you want to set a Pagefile for the virtual memory?
       ENVI V5=Set Pagefile
     MESS %V1%\n%V2%\n%V3%\n%V4%@%V5%#YN*20000
     FIND $YESNO=YES,PAGE D:\PAGEFILE.SYS 30 40
     TEAM ENVI V1=|V2=|V3=|V4=|V5=
_END

_SUB SetPageFile1
       PAGE C:\PAGEFILE.SYS 30 40
_END


CALL $SHELL32.DLL,DllInstall,#1,U
DISP W800 H600 B32 F60
WALL %CurDrv%\WALL.JPG     
WALL %w%\WALL.JPG
SHEL %W%\EXPLORER.EXE


from above , the shortcuts were not made successfully , may be the problem is with %USERPROFILE% ?  i copied it from TangoPE .

can someone please correct it ?

also , PAGEFILE was not created on D: drive , although the popup was shown during PE boot , i pressed on YES , but no pagefile.sys was on D drive ?

WALL.JPG   , the wallpaper was also not found . what is necessery for wallpapers to load OK ?


thanks in advance.


Regards,
Maanu from Pakistan
回复

使用道具 举报

2#
发表于 2009-11-8 18:12:41 | 只看该作者
呵呵,英文看不懂,翻译出来的中文一样看不明。
这里是中国大陆,如果你会中文的话,请用正规的中文表达出来。
回复

使用道具 举报

3#
发表于 2009-11-8 18:34:03 | 只看该作者
帮忙翻译···谷歌和雅虎结合起来看,就有些明白了···

原文:
hi .i am a foreign user . but i really like some chinese tools , PECMD for instance.  i need to ask something ,is it possible to create pagefile.sys via PECMD dynamically when the PE boots ?   i use firadisk  to build a hdd image based PE with the help of winbuilder. but i am confused that how i can use PECMD to create pagefile.sys on the fly  either i use firadisk or  other option which is cab compressed which chinese build normally uses .i have seen the following thread http://bbs.wuyou.net/archiver/?tid-91524-page-10.htmlbut can not understand it . i hope someone will reply with a solution  . Thank you.Regards,Maanu from Pakistan

谷歌翻译
您好。我是一个外国用户。但真的很喜欢一些中文工具I,例如PECMD。我要问的东西,它可以创建动态的pagefile.sys通过PECMD体育启动时?我使用firadisk建立一个基于硬盘的形象与体育的winbuilder帮助。但我有点疑惑,怎么我可以使用PECMD来动态创建的pagefile.sys要么我用firadisk或其他选项,这是压缩的驾驶室中国建立正常使用。看到下面的线程http://bbs.wuyou.net i /归档/?工业贸易署,91524页,10.htmlbut无法理解。我希望有人会回答了解决方案。谢谢you.Regards,从巴基斯坦Maanu

雅虎翻译:
喂.i上午外国用户。 例如,但是我真正地喜欢一些中国工具, PECMD。 我需要要求某事,通过PECMD动态地创造pagefile.sys,当PE起动是否是可能的? 我使用firadisk在winbuilder帮助下修造hdd图象基于PE。 但是我是迷茫的我怎么可以使用PECMD正在进行中创造pagefile.sys或者我使用firadisk或是被压缩的小室中国人修造通常使用.i的其他选择看以下螺纹http://bbs.wuyou.net/archiver/?tid-91524-page-10.htmlbut不可能了解它。 我希望某人将回复用解答。 谢谢。问候,从巴基斯坦的Maanu

[ 本帖最后由 yulon 于 2009-11-8 18:35 编辑 ]
回复

使用道具 举报

4#
发表于 2009-11-8 18:55:52 | 只看该作者
原帖由 maanu 于 2009-11-8 15:35 发表
hi .i am a foreign user . but i really like some chinese tools , PECMD for instance.  i need to ask something ,is it possible to create pagefile.sys via PECMD dynamically when the PE boots ?   i  ...


format: PAGE <path of pagefile> <inital size in MB> [max size in MB]
for example:
c:\>pecmd.exe PAGE C:\PAGEFILE.SYS 128 256
回复

使用道具 举报

5#
发表于 2009-11-8 19:02:32 | 只看该作者
这个老外就是问如何用PECMD创建PAGEFILE.SYS,搞不懂为什么这么问。
回复

使用道具 举报

6#
 楼主| 发表于 2009-11-8 19:08:21 | 只看该作者
Thank you so very much Pseduo ,  i have understood what you said .now two questions ,

can i delete existing C:\pagefile.sys first , then PECMD creates a Pagefile.sys ,
then how is it possible to delete that pagefile.sys upon shutdown /Exit of pe . ?
may be a bat file can do this ?

Thank you so much again .
回复

使用道具 举报

7#
发表于 2009-11-8 19:22:28 | 只看该作者
欢迎外国朋友!!!不好克服确实是语言障碍!
回复

使用道具 举报

8#
发表于 2009-11-8 19:48:37 | 只看该作者
原帖由 maanu 于 2009-11-8 19:08 发表
Thank you so very much Pseduo ,  i have understood what you said .now two questions ,

can i delete existing C:\pagefile.sys first , then PECMD creates a Pagefile.sys ,
then how is it possib ...

Yes, you can use
c:\>pecmd.exe FILE C:\pagefile.sys
to delete the existing and unuseful pagefile C:\pagefile.sys, but it’s unnecessary, i think.
PECMD would not delete the pagefile automatically when PE shut down. The pagefile is locked and can not be deleted at runtime.

In addition. You can goto the zhaohj's ftp(http://bbs.wuyou.net/forum.php?mod=viewthread&tid=96720) and download 0PE's new project in directory /pesudo.
It has been more improved about installing xp/2003 onto SATA/Raid hard disk. A USB2.0 module plpbt.bin can significantly speed up the old machine to read .iso from USB disk.
回复

使用道具 举报

9#
发表于 2009-11-8 20:00:06 | 只看该作者
原帖由 lxl1638 于 2009-11-8 18:12 发表
呵呵,英文看不懂,翻译出来的中文一样看不明。
这里是中国大陆,如果你会中文的话,请用正规的中文表达出来。


呵呵,外国人盯上老九了,赶紧搞出歪文版,好接轨国际。。。
回复

使用道具 举报

10#
发表于 2009-11-8 20:05:49 | 只看该作者
原帖由 lxl1638 于 2009-11-8 18:12 发表
呵呵,英文看不懂,翻译出来的中文一样看不明。
这里是中国大陆,如果你会中文的话,请用正规的中文表达出来。

他是我们邻国巴基斯坦的网友。
不过,如果用正规的中文表达出来,或许有“灌水”之虞
回复

使用道具 举报

11#
发表于 2009-11-8 20:10:14 | 只看该作者
果然是很神奇啊。貌似真的是一位外国朋友呢,无忧欢迎你。。。
回复

使用道具 举报

12#
发表于 2009-11-8 20:38:35 | 只看该作者
外国朋友开贴,不能不顶一下

原帖由 maanu 于 2009-11-8 19:08 发表
Thank you so very much Pseduo ,  i have understood what you said .now two questions ,

can i delete existing C:\pagefile.sys first , then PECMD creates a Pagefile.sys ,
then how is it possib ...

为什么要删除pagefile.sys,再用PAGE创建一个pagefile.sys 这样的操作有意义吗???
还有为什么一定要在关机时删除pagefile.sys ,或许这并非不能办到,但,这样做有意义吗???

奇怪了,楼主能上GOOGLE,YAHOO把英文翻成中文,为什么不能把PECMD HELP翻译成英文,读完了再来发贴???
回复

使用道具 举报

13#
 楼主| 发表于 2009-11-8 21:19:55 | 只看该作者
原帖由 pseudo 于 2009-11-8 19:48 发表

Yes, you can use
c:\>pecmd.exe FILE C:\pagefile.sys
 to delete the existing and unuseful pagefile C:\pagefile.sys, but it’s unnecessary,  ...


it is understood . now i guess i can use the following bat file . ( assuming i have PECMD.exe in system32 )

@echo off
pecmd.exe FILE C:\pagefile.sys
pecmd.exe PAGE C:\pagefile.sys 64 128
exit

Microsoft told me that if we have the following registry value in registry , pagefile.sys will be deleted when shutdown ,


Value Name: ClearPageFileAtShutdown
Value Type: REG_DWORD
Value: 1


or 

if value already exists then turn it to 1 . 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

here is the source,
http://support.microsoft.com/kb/314834

as far as 0PE is concerned , can you give me the link to somewhere else . it seems i do not have access to that FTP . 
by the way , i have been using Plop for some time now , but i have seen one thing in it , it can not load NT 5 based ISO , either it is Pe or windows iso . it does load it file . but when we apply chainload , it just produces Blank screen . and stuck there. 

for example ,
after loading Bios with Plop ,

map --mem /maanu.iso (xp pe) (0xff)
( it will load it fine )
then
map --hook
chainloader  (0xff) 
boot
nothing will happen after that . 

but it does not happen with NT6 based pe or iso . have you seen this error /Bug ? 

thank you once again and everyone else who has welcomed me here . Pseudo knows me from other forums too , like boot land , znpc . and he always has been very kind.

[ 本帖最后由 maanu 于 2009-11-8 21:25 编辑 ]
回复

使用道具 举报

14#
发表于 2009-11-8 21:40:37 | 只看该作者
原帖由 junyee 于 2009-11-8 20:38 发表
奇怪了,楼主能上GOOGLE,YAHOO把英文翻成中文,为什么不能把PECMD HELP翻译成英文,读完了再来发贴???



帮助都是文字表格,谷歌、雅虎 再怎么强大,也有爆机的时候···
回复

使用道具 举报

15#
发表于 2009-11-9 00:26:15 | 只看该作者
原帖由 maanu 于 2009-11-8 21:19 发表
it is understood . now i guess i can use the following bat file . ( assuming i have PECMD.exe in system32 )
@echo off
pecmd.exe FILE C:\pagefile.sys
pecmd.exe PAGE C:\pagefile.sys 64 128 ...

The bat file seems ok and the registry ClearPageFileAtShutdown is useful, thanks.

I have given the link of the post above where zhaohj's FTP adress with username and password can be seen. You have enough permissions to see them. That is the only way to get latest version of 0PE.
You can use a ftp tool, such as FlashFxp for downloading.

I have not found any problem in your menu.

If you load a pe from USB more than 3 minus before entering desktop, or map an iso file (about 600MB) to memory more than 5 minus, plpbt.bin would be useful.
Maybe you can make a test in 0PE:

select the menuitem
[9] Debug On/USB2.0 Module.
twice to load plpbt.bin, then select another menuitem to load 0PE or menuitem
[A] Setup /WIN$.ISO
to load any bootable iso file (named /WIN$.ISO) from ubs, you can feel the significant acceleration.
回复

使用道具 举报

16#
发表于 2009-11-9 06:37:56 | 只看该作者
看来p大的鸟语学的不是一般的好啊!
回复

使用道具 举报

17#
 楼主| 发表于 2009-11-9 06:41:46 | 只看该作者
@ Pseudo

i have seen it now . grabbing your whole folder to study .

Thank you so much again . i will ask again if i need anything else .

Regards,
Manau from Pakistan
回复

使用道具 举报

18#
发表于 2009-11-9 09:06:42 | 只看该作者
巴基斯坦是我们的同志加兄弟,各位大大帮忙解决一下.
回复

使用道具 举报

19#
发表于 2009-11-9 11:54:23 | 只看该作者
看来无忧的版主要找个美国MM当翻译秘书了。
回复

使用道具 举报

20#
发表于 2009-11-9 18:39:03 | 只看该作者
以后干脆找几个E文好的当翻译.
回复

使用道具 举报

21#
发表于 2009-11-9 19:58:27 | 只看该作者
应该 弄一个E文的。。
回复

使用道具 举报

22#
发表于 2009-11-10 15:44:15 | 只看该作者
原帖由 victor888 于 2009-11-8 19:02 发表
这个老外就是问如何用PECMD创建PAGEFILE.SYS,搞不懂为什么这么问。


看样子是巴基斯坦来的朋友,大概担心我们看不懂英文,又用google翻译了一下吧?

这种为人着想的态度,实在值得我们学习!

说真的,我就看不懂英文。

[ 本帖最后由 想傲江湖 于 2009-11-10 15:50 编辑 ]
回复

使用道具 举报

23#
发表于 2009-11-10 15:47:32 | 只看该作者
原帖由 junyee 于 2009-11-8 20:38 发表
外国朋友开贴,不能不顶一下


为什么要删除pagefile.sys,再用PAGE创建一个pagefile.sys 这样的操作有意义吗???
还有为什么一定要在关机时删除pagefile.sys ,或许这并非不能办到,但,这样做有意义吗???

奇 ...


大概也有用PE进行数据恢复方面的需求,所以不想在硬盘上写东西,包括创建pagefile.sys。
回复

使用道具 举报

24#
发表于 2009-11-10 15:49:54 | 只看该作者
原帖由 lxl1638 于 2009-11-9 11:54 发表
看来无忧的版主要找个美国MM当翻译秘书了。


看来老大要考虑发布英文手册了,或许找p大翻译一下?
回复

使用道具 举报

25#
发表于 2009-11-10 16:12:15 | 只看该作者

回复 #24 想傲江湖 的帖子

这位巴基斯坦朋友maanu是老外
http://www.boot-land.net/forums/index.php?
论坛高级会员,借助google翻译来读时空论坛、无忧的中文帖子,这比我们读英文帖子难得多。
他在本坛积分比不少人高,这是第一回发帖。我们应该向他学习、致敬。

我英语水平相当于CET-3,借助google翻译的,很吃力。
回复

使用道具 举报

26#
发表于 2009-11-10 17:36:56 | 只看该作者
他的意思大家基本上可以看得明白,但要用英文回答这位朋友就难了。。。。。。。。。
回复

使用道具 举报

27#
 楼主| 发表于 2009-11-10 18:30:27 | 只看该作者
@ Pseudo

thank you for clearing the issue . i use google translate and translate from english to chinese just make it easy for most of my chinese friends to have a idea of my meanings . thats it .

i am just a seeker of knowledge . and in chinese forums i found many things which are no where on the internet . like fbinst by bean , BOOTICE by Pauly ( Thanks to him for translating to english on my request ) , author of FBINST TOOL ( again thanks to him for adding English on my request ) . now DGen has promised me that he will make english version for Dos and Windows of DISK GENIUS .

i will keep learning stuff here and will share on Boot Land and other forums .

i will be like the Bridge between Chinese people to the world :) . anyone who needs any help in understanding any english software , just let me know , i ll try to my Level Best to translate it to chinese with His help . with screen shoots too .

@ xl1638

you have done great work in making PECMD .  is there any chance that you might translate its menu to English ? to help us understand how it works ?

specially i am impressed how you people use pe_outerpart  things like drivers install in PE , or Direct X etc . or packing everything in .wim  . then generate shortcuts dynamically at the boot time .
most of the bat files are coded by Pseudo . he is a Pure genius . Respect!!

Thank you once again to all who Welcomed me here . China is just like my other home .

Regards,
Maanu from Pakistan

Translation for those who dont understand english at all . 

@ Pseudo  

感谢您清理问题。我用谷歌翻译和英文翻译成中文就可以很容易为我的中国朋友最有我的意义的想法。多数民众赞成它。

我只是知识的求职者。发现在I中文论坛,这是在没有很多东西在互联网上。由豆一样,由保利BOOTICE fbinst(感谢他为翻译成英文在我的要求),作者的FBINST工具(再次感谢对我的要求加入到他的英文)。现在dgen的答应我,他能为DOS和磁盘天才英语版本的Windows。

我将继续在这里学习的东西,并会分享引导土地和其他论坛。

我会之间,犹如给世界人民桥:)。谁需要任何人的理解有英文软件的帮助,只是让我知道,我试试看我所能,为中国翻译它在他的帮助。与屏幕拍摄了。

@ xl1638

你这样做使PECMD的伟大工程。是否有任何机会,您可能它的菜单翻译英语?帮助我们了解它是如何工作?

特别令我印象深刻的人使用你喜欢的东西安装驱动pe_outerpart在体育,或直接X等。或包装一切英寸的WIM。然后动态地生成快捷方式,在启动的时间。
bat文件的大部分是由伪编码。他是一个纯粹的天才。尊重!

再次感谢你的所有谁欢迎我来这里。中国就像我的其他家庭。

关心,
Maanu从巴基斯坦

[ 本帖最后由 maanu 于 2009-11-10 18:38 编辑 ]
回复

使用道具 举报

28#
发表于 2009-11-10 18:56:39 | 只看该作者

回复 #27 maanu 的帖子

这个帮助,可能好翻译一点

[ 本帖最后由 coolg 于 2009-11-10 20:13 编辑 ]

pecmd_help.rar

16.89 KB, 下载次数: 63, 下载积分: 无忧币 -2

pecmd_help_en.rar

19.67 KB, 下载次数: 68, 下载积分: 无忧币 -2

回复

使用道具 举报

29#
发表于 2009-11-10 23:17:05 | 只看该作者
原帖由 pseudo 于 2009-11-10 16:12 发表
这位巴基斯坦朋友maanu是老外
http://www.boot-land.net/forums/index.php?
论坛高级会员,借助google翻译来读时空论坛、无忧的中文帖子,这比我们读英文帖子难得多。
他在本坛积分比不少人高,这是第一回发 ...


实在佩服!
不过,正也说明grub4dos、PECMD的影响在不断扩大。
回复

使用道具 举报

30#
发表于 2009-11-11 17:30:33 | 只看该作者
原帖由 想傲江湖 于 2009-11-10 23:17 发表


实在佩服!
不过,正也说明grub4dos、PECMD的影响在不断扩大。



最近发现LS一直在灌水···
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-9-21 00:25

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表