无忧启动论坛

标题: PECMD and Pagefile.sys in PE [打印本页]

作者: maanu    时间: 2009-11-8 15:35
标题: PECMD and Pagefile.sys in PE
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从巴基斯坦
作者: lxl1638    时间: 2009-11-8 18:12
呵呵,英文看不懂,翻译出来的中文一样看不明。
这里是中国大陆,如果你会中文的话,请用正规的中文表达出来。
作者: yulon    时间: 2009-11-8 18:34
帮忙翻译···谷歌和雅虎结合起来看,就有些明白了···

原文:
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 编辑 ]
作者: pseudo    时间: 2009-11-8 18:55
原帖由 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
作者: victor888    时间: 2009-11-8 19:02
这个老外就是问如何用PECMD创建PAGEFILE.SYS,搞不懂为什么这么问。
作者: 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 possible to delete that pagefile.sys upon shutdown /Exit of pe . ?
may be a bat file can do this ?

Thank you so much again .
作者: zhanghs888    时间: 2009-11-8 19:22
欢迎外国朋友!!!不好克服确实是语言障碍!
作者: pseudo    时间: 2009-11-8 19:48
原帖由 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.
作者: coolg    时间: 2009-11-8 20:00
原帖由 lxl1638 于 2009-11-8 18:12 发表
呵呵,英文看不懂,翻译出来的中文一样看不明。
这里是中国大陆,如果你会中文的话,请用正规的中文表达出来。


呵呵,外国人盯上老九了,赶紧搞出歪文版,好接轨国际。。。
作者: yaojy    时间: 2009-11-8 20:05
原帖由 lxl1638 于 2009-11-8 18:12 发表
呵呵,英文看不懂,翻译出来的中文一样看不明。
这里是中国大陆,如果你会中文的话,请用正规的中文表达出来。

他是我们邻国巴基斯坦的网友。
不过,如果用正规的中文表达出来,或许有“灌水”之虞
作者: 别问我叫什么    时间: 2009-11-8 20:10
果然是很神奇啊。貌似真的是一位外国朋友呢,无忧欢迎你。。。
作者: junyee    时间: 2009-11-8 20:38
外国朋友开贴,不能不顶一下

原帖由 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翻译成英文,读完了再来发贴???
作者: maanu    时间: 2009-11-8 21:19
原帖由 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 编辑 ]
作者: yulon    时间: 2009-11-8 21:40
原帖由 junyee 于 2009-11-8 20:38 发表
奇怪了,楼主能上GOOGLE,YAHOO把英文翻成中文,为什么不能把PECMD HELP翻译成英文,读完了再来发贴???



帮助都是文字表格,谷歌、雅虎 再怎么强大,也有爆机的时候···
作者: pseudo    时间: 2009-11-9 00:26
原帖由 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.
作者: 坏小子    时间: 2009-11-9 06:37
看来p大的鸟语学的不是一般的好啊!
作者: maanu    时间: 2009-11-9 06:41
@ 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
作者: xiexizhe    时间: 2009-11-9 09:06
巴基斯坦是我们的同志加兄弟,各位大大帮忙解决一下.
作者: lxl1638    时间: 2009-11-9 11:54
看来无忧的版主要找个美国MM当翻译秘书了。
作者: yichya    时间: 2009-11-9 18:39
以后干脆找几个E文好的当翻译.
作者: 94first    时间: 2009-11-9 19:58
应该 弄一个E文的。。
作者: 想傲江湖    时间: 2009-11-10 15:44
原帖由 victor888 于 2009-11-8 19:02 发表
这个老外就是问如何用PECMD创建PAGEFILE.SYS,搞不懂为什么这么问。


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

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

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

[ 本帖最后由 想傲江湖 于 2009-11-10 15:50 编辑 ]
作者: 想傲江湖    时间: 2009-11-10 15:47
原帖由 junyee 于 2009-11-8 20:38 发表
外国朋友开贴,不能不顶一下


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

奇 ...


大概也有用PE进行数据恢复方面的需求,所以不想在硬盘上写东西,包括创建pagefile.sys。
作者: 想傲江湖    时间: 2009-11-10 15:49
原帖由 lxl1638 于 2009-11-9 11:54 发表
看来无忧的版主要找个美国MM当翻译秘书了。


看来老大要考虑发布英文手册了,或许找p大翻译一下?
作者: pseudo    时间: 2009-11-10 16:12
标题: 回复 #24 想傲江湖 的帖子
这位巴基斯坦朋友maanu是老外
http://www.boot-land.net/forums/index.php?
论坛高级会员,借助google翻译来读时空论坛、无忧的中文帖子,这比我们读英文帖子难得多。
他在本坛积分比不少人高,这是第一回发帖。我们应该向他学习、致敬。

我英语水平相当于CET-3,借助google翻译的,很吃力。
作者: lxl1638    时间: 2009-11-10 17:36
他的意思大家基本上可以看得明白,但要用英文回答这位朋友就难了。。。。。。。。。
作者: maanu    时间: 2009-11-10 18:30
@ 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 编辑 ]
作者: coolg    时间: 2009-11-10 18:56
标题: 回复 #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


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


实在佩服!
不过,正也说明grub4dos、PECMD的影响在不断扩大。
作者: yulon    时间: 2009-11-11 17:30
原帖由 想傲江湖 于 2009-11-10 23:17 发表


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



最近发现LS一直在灌水···
作者: maanu    时间: 2009-11-11 21:10
@ Pseudo

i am sorry to report , but the following did not work .

@ echo off
PECMD.EXE FILE C:\PAGEFILE.SYS
PECMD.EXE PAGE C:\PAGEFILE.SYS 64 128

please note ,that i had PECMD.EXE in same directory as the bat file .  the bat file appears and then exit right at the spot.

is there anything wrong ?

i also tried to put pecmd.exe in systemroot \system32  folder . but nothing happen .

thank you for your time.

@ coolg


thank you so much for the PECMD translation , it will be very useful . 

Regards,
Maanu from Pakistan

[ 本帖最后由 maanu 于 2009-11-11 21:11 编辑 ]
作者: netwinxp    时间: 2009-11-11 21:11
这位来自中国友邦——巴基斯坦的maanu的认真治学态度令人敬佩,建议以后老九发布新版本的PECMD的英文化工作由P大、V大等英文水平较佳者协助完成(含资源和帮助)
@maanu
PECMD.EXE only runs on PE。

[ 本帖最后由 netwinxp 于 2009-11-11 21:18 编辑 ]
作者: maanu    时间: 2009-11-11 21:21
@ netwinxp

thank for the nice words dear moderator .

and yes i am running it in PE .  the pe made by winbuilder . ram based Load . xp sp2 based.
作者: iwannago    时间: 2009-11-11 21:32
提示: 作者被禁止或删除 内容自动屏蔽
作者: netwinxp    时间: 2009-11-11 21:43
@maanu
1. open the file---regsetup.hiv(using the registrytools)
2. search the key&string---"cmdline"="cmd.exe"(maybe use other software--the shell of desktop)
    ***type:reg_expand_sz***
3. modify the string to---"PECMD.EXE MAIN  %SystemRoot%\System32\PECMD.INI"
    or "cmd.exe /k autorun.cmd"(use autorun.cmd to delete the file---PAGEFILE.SYS)
4. save the file---regsetup.hiv

***好久没搞英语了,翻译得不对的地方请见谅***
***这位巴基斯坦朋友的意思是——使用winbuilder创建PE用PECMD的一些问题。但该软件默认运行的命令行是cmd.exe(或者其他shell软件),所以自然不会跑到PECMD.EXE上,要改成"PECMD.EXE MAIN  %SystemRoot%\System32\PECMD.INI"才行,本人的英语大多还给老师了,上面的中国式英语基本点明了要点,当然如果改成像"cmd.exe /k autorun.cmd"然后再用autorun.cmd也可以实现删除页面文件,但关机会比较成问题,请有英语水平较佳的帮忙修改一下*^_^*

[ 本帖最后由 netwinxp 于 2009-11-11 22:16 编辑 ]
作者: maanu    时间: 2009-11-11 22:15
@ post # 35

thank you Mr.Moderator for taking interest .

but when i load setreg.hiv into regedit , with " cmdline " it is showing me " Peloader.exe" not " cmd.exe " .

should i change it ?

or may be i am looking in wrong side ?  

actually i wanted to use PECMD.exe to automate the PAGEFILE issue in pe mode . otherwise we already have a tool made by Paraguilder for pe which sets pagefile.sys . he is author of runscanner too . name of file is setpagefile.exe .

and by the way , Believe me your english is very good .
作者: netwinxp    时间: 2009-11-11 22:19
the shell is "peloader"?change it.you can modify the pecmd.ini to delete the file--C:\PAGEFILE.SYS(FILE C:\PAGEFILE.SYS),the shell will change to explorer.exe.
or "cmd.exe /k autorun.cmd" ***autorun.cmd is your batch file to auto runing.but it would be reboot when finished the batch.

[ 本帖最后由 netwinxp 于 2009-11-11 22:33 编辑 ]
作者: maanu    时间: 2009-11-11 22:27
WOW .

it seems i have found the issue .

in script file put the following ,  ( we use scripts in winbuilder to add apps , drivers etc )

a user at boot-Land forums , JFX made a script to enable themes . he used the chinese guys methods and port to winbuilder . he uses the following lines ,

[PECMD]
// Use PECMD rather than PELoader
RegWrite,HKLM,0x1,WB-Setup\Setup,CmdLine,"PECMD.EXE MAIN %SystemRoot%\SYSTEM32\PECMD.INI"
If,%LogonType%,Equal,True,RegWrite,HKLM,0x4,"WB-Software\Microsoft\Windows NT\CurrentVersion\Winlogon",LogonType,1
FileCopy,%ScriptDir%\PECMD\PECMD.exe,%target_sys%,NOWARN
FileCopy,%ScriptDir%\PECMD\PECMD.ini,%target_sys%,NOWARN
//


now the following is in his PECMD.INI ,

FIND Explorer.EXE,!TEAM SHEL %WinDir%\EXPLORER.EXE|LOGO|TEXT

now should i add the following before the above line or after ?

PECMD FILE C:\PAGEFILE.SYS
PECMD PAGE C:\PAGEFILE.SYS 64 128
作者: netwinxp    时间: 2009-11-11 22:28
en...very good:)
作者: coolg    时间: 2009-11-11 22:29
原帖由 maanu 于 2009-11-11 22:15 发表
@ post # 35

thank you Mr.Moderator for taking interest .

but when i load setreg.hiv into regedit , with " cmdline " it is showing me " Peloader.exe" not " cmd.exe " .

should i change  ...



bat file:

Start /wait PECMD.EXE LOAD Setpage.ini


Setpage.ini:

FILE C:\pagefile.sys
PAGE C:\pagefile.sys XX XXX
作者: maanu    时间: 2009-11-11 22:35
@ Coolg

are you saying that if i use your method , then i dont need to shift cmdline,exe from peloader.exe to PECMD.EXE ?

Thanks
作者: coolg    时间: 2009-11-11 22:46
原帖由 maanu 于 2009-11-11 22:35 发表
@ Coolg

are you saying that if i use your method , then i dont need to shift cmdline,exe from peloader.exe to PECMD.EXE ?

Thanks



you try..
作者: netwinxp    时间: 2009-11-11 22:50
I dont think peloader better than pecmd.pecmd lifting a 24-hour-reboot limit with winlogon and the shell is explorer.

[ 本帖最后由 netwinxp 于 2009-11-11 22:53 编辑 ]
作者: maanu    时间: 2009-11-11 22:51
i have just booted in pe from usb . used your method ,

maanu.bat file ,

start /wait PECMD.EXE LOAD maanu.ini

maanu.ini
FILE C:\PAGEFILE.SYS
PAGE C:\PAGEFILE.SYS 64 128

first command successful . means PAGEFILE.SYS which was already at
C:\ driver removed .

BUT not new pagefile,sys was created .  i wonder what could go wrong .
作者: netwinxp    时间: 2009-11-11 22:55
FILE C:\PAGEFILE.SYS
WAIT 500
PAGE C:\PAGEFILE.SYS 64 128
WAIT 3000

[ 本帖最后由 netwinxp 于 2009-11-11 22:57 编辑 ]
作者: maanu    时间: 2009-11-11 22:58
@ netwinxp

thank you brother . i will now restart and report back . thanks .
作者: maanu    时间: 2009-11-11 23:09
@ netwinxp

i am at pe now . posting from it .

the solution unfortunately did not work .

what should i do , reboot and make another project with PECMD as default other then PeLoader ?

i am waiting ,

thanks .

edit : 

is there any way to tell PECMD to save the log what it did , so that i can say what it is telling me about the above commands .?

[ 本帖最后由 maanu 于 2009-11-11 23:13 编辑 ]
作者: netwinxp    时间: 2009-11-11 23:12
PECMD can use shel xxxx  to load peloader or anthoer shell software.but created pagefile.sys....
***LOG PECMD*************
LOGS %SystemRoot%\xxxx.log
*************************

[ 本帖最后由 netwinxp 于 2009-11-11 23:24 编辑 ]
作者: coolg    时间: 2009-11-11 23:14
原帖由 maanu 于 2009-11-11 22:51 发表
i have just booted in pe from usb . used your method ,

maanu.bat file ,

start /wait PECMD.EXE LOAD maanu.ini

maanu.ini
FILE C:\PAGEFILE.SYS
PAGE C:\PAGEFILE.SYS 64 128

first co ...


Created pagefile in USB?

[PAGE]
Format: PAGE <page file path "" The initial size of the "[Max]
Function: Set the page file (virtual memory).
Parameters:
■ specify the page file path, only with DOS 8.3 format, the path, such as "C: \ PageFile.sys".
■ The initial size and maximum units are MB; when the maximum value is omitted, the automatically set the initial size = max.
Example:
◆ PAGE C: \ PAGEFILE.SYS 128 256
Note:
※ If you set the page file, then the district will be unable to perform formatting and other operations.
※ When the available memory, "the initial size, this command will not set the page file, which can be defined as a set the initial size of pages of documents conditions.
※ This command has intelligent functions, namely, the definition of pages from your file name (including drive letter) is located in line with the district started to search conditions (hard drives and capacity)
District to set page file to avoid the slow U-disk and mobile hard disk. U disk or mobile hard disk to start may be defined in the profile page of the text
Pieces on U disk or mobile hard disk
. After a search if not found qualified hard disk partition settings page document before the use of U disk or mobile hard disk
Settings pages.
作者: maanu    时间: 2009-11-11 23:17
yes i have read it . and i am not using any usb hard disk . i am use C driver which have my windows installed . it is 10 GB NTFS  .

should i give it the last try by making the project again , this time by default PECMD other then PELOADER. ?
作者: coolg    时间: 2009-11-11 23:27
原帖由 maanu 于 2009-11-11 23:17 发表
yes i have read it . and i am not using any usb hard disk . i am use C driver which have my windows installed . it is 10 GB NTFS  .

should i give it the last try by making the project again , ...



windows used wincmd.exe ....

http://bbs.wuyou.net/forum.php?mod=viewthread&tid=121828&extra=page%3D8
作者: maanu    时间: 2009-11-11 23:37
i am sorry , but i am failed to understand that why i should  use WINCMD.exe ?

thanks.

( rebooting to real system )

edit : 

ok i am going to hospital to visit my grandmother .  i ll come back and build a new project with pe , using PECMD as default other then PELOADER.EXE . 

the following will be in PECMD.ini file . ( note , the first line is from JFX ) .

FIND Explorer.EXE,!TEAM SHEL %WinDir%\EXPLORER.EXE|LOGO|TEXT
WAIT 2000
FILE C:\PAGEFILE.SYS
WAIT 400
PAGE C:\PAGEFILE.SYS 64 128
WAIT 3000


, please tell me if something is wrong .

thanks in advance. 

[ 本帖最后由 maanu 于 2009-11-11 23:50 编辑 ]
作者: coolg    时间: 2009-11-11 23:58
原帖由 maanu 于 2009-11-11 23:37 发表
i am sorry , but i am failed to understand that why i should  use WINCMD.exe ?

thanks.

( rebooting to real system )

edit :

ok i am going to hospital to visit my grandm ...



FILE C:\PAGEFILE.SYS
WAIT 400
PAGE C:\PAGEFILE.SYS 64 128
WAIT 3000

FIND Explorer.EXE,!TEAM SHEL %WinDir%\EXPLORER.EXE|LOGO|TEXT


note:
set pagefile before load explorer.exe!

[ 本帖最后由 coolg 于 2009-11-13 10:20 编辑 ]
作者: yichya    时间: 2009-11-12 09:41
i think it's not necessary to wait,and find is not necessary,too.
作者: netwinxp    时间: 2009-11-12 18:38
原帖由 yichya 于 2009-11-12 09:41 发表
i think it's not necessary to wait,and find is not necessary,too.

如果用来启动到桌面那不需要延时,如果仅仅用来删除和创建PAGEFILE.SYS然后就重新启动,那肯定要加延时,毕竟创建或者拷贝文件需要时间的,以前在研究在SHELL加载之前加载驱动这个问题的时候就已经发现拷贝文件需要延时一段时间。
作者: maanu    时间: 2011-8-18 06:27
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




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3