无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: 2011足迹

Native子系统的 Cmd (Native Cmd) M2正式发布 -- 2011-07-22 (reg.exe,xcopy.exe)

  [复制链接]
发表于 2012-2-10 10:17:59 | 显示全部楼层
回复

使用道具 举报

发表于 2012-3-29 03:50:25 | 显示全部楼层

help

Please help me understand how nmount.exe, n7z.exe use.Ndrv,Nlist - what this program do? native load native.cfg - what does this mean?

I made little windows kernel, other system files put to ISO file, map this ISO file from USB flash with Grub4Dos, boot kernel - copy remaining files to system disk.Now I want compressed it

Great program.
In help CMD is wrong NCMD need.
XCOPY can't copy to fat16 RAM disk more than 240 files in one directory, from NTFS to NTFS - good. COPY works good.
DEFINED in IF command works like UNDEFINED
This is native defrag program
http://rghost.ru/37283700
Native Shell author send you regards. He prepare article about NCMD

[ 本帖最后由 2012bomz 于 2012-3-29 04:08 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 14:29:06 | 显示全部楼层
Thanks. I decompress CAB files only and do this using Native Shell manualy. 7z - unsupported format, what version of 7zip need? WIM not mounted - may be some special structure of wim file need? I use last date version of NCMD.

This is official site of Ultra Defrag it's free I get this files from it
http://ultradefrag.sourceforge.net/en/index.html

My MotherBoard Asus crash and I don't have on-board USB ports. I use PCI-to-USB controller VIA. To boot from it I flash PLoP boot manager in my NetWork Intel 100 M flash chip. But PLoP good support only Intel chip, VIA chip - USB 2.0 low speed only, so I need to devided Windows PE to two part as linux do, to load "filesystem" through Windows USB driver. The difference in speed 1 mb per sec - 32 mb per sec. All works good with NCMD but now I want to compress filesystem. I read all topic using Google Translator. Find n7z nmount ncab and etc.

[ 本帖最后由 2012bomz 于 2012-3-29 14:44 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 15:31:46 | 显示全部楼层
of course I use 7z format 4.65 version, it's well known in our country format. I download old version too 3.13. May be you know that very last 7zip make archive which may not support old version.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
ncmd.exe /c nautorun.bat
native.exe      - here native shell for stop and make reboot

@echo off
md x:\tools
x:\i386\system32\nmount.exe c:\filesystem.wim x:\tools

not work  

[ 本帖最后由 2012bomz 于 2012-3-29 15:34 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 15:45:24 | 显示全部楼层
thanks. wimfltr.sys only put it system32? just try it

native.exe  load  nautorun.bat
please give me URL of native.exe. When I said NativeShell I mean http://hex.pp.ua/nt-native-applications-shell-eng.php

WIMFLTR.SYS system32\drivers exist. I need load it some special method?

[ 本帖最后由 2012bomz 于 2012-3-29 15:51 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 15:52:20 | 显示全部楼层
OK. Now I find this registry key
回复

使用道具 举报

发表于 2012-3-29 18:00:19 | 显示全部楼层
HKLM...session manager
native.exe

nloadsys.exe default wimfltr.sys system32\drivers
if exist C:\winpe.wim mount C:\winpe.wim X:\

mount success

all OK. in all directories files appear Programs, i386, system32\lang ... except \system32


How using native make
for %%i in (C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) do if exist %%i:\SVPE\winpe.wim set LETTER=%%i
?

[ 本帖最后由 2012bomz 于 2012-3-29 18:02 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 18:25:20 | 显示全部楼层
OK. I try to do something like
if exist C:\winpe.wim mount C:\winpe.wim 1 X:\i386
if exist C:\winpe.wim mount C:\winpe.wim 2 X:\Programs
........................
if exist Z:\winpe.wim mount Z:\winpe.wim 1 X:\i386
if exist Z:\winpe.wim mount Z:\winpe.wim 2 X:\Programs
回复

使用道具 举报

发表于 2012-3-29 20:02:28 | 显示全部楼层
friend8179 想请教你一些关于Native Cmd的问题!

我在正常的win2003系统(不是PE系统)里想启动到Native Cmd环境里用Native Cmd里的 reg.exe 添加注册表项!
可我试了多次都没有成功!不知道你用过 reg.exe 这个添加注册表项吗?应该如何设置运行啊?


启动到Native Cmd环境后, 我是这样写的:

reg.exe add c:\a.reg

a.reg是我备份好的要添加的注册表文件!
回复

使用道具 举报

 楼主| 发表于 2012-3-29 20:16:07 | 显示全部楼层

回复 #168 thttht 的帖子

reg的命令语法错误..具体用法可以看win23下reg的help
regedit 才能直接处理.reg文件
回复

使用道具 举报

发表于 2012-3-29 20:23:45 | 显示全部楼层
in which form ncab.exe files list do?

ncab.exe -d list.txt c:\default.cab x:\i386\system32

advapi.dll
kernel32.dll

ansi unicode?

sorry -d mean only = list files IN cab file

[ 本帖最后由 2012bomz 于 2012-3-29 20:29 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 23:28:49 | 显示全部楼层
原帖由 2011足迹 于 2012-3-29 20:16 发表
reg的命令语法错误..具体用法可以看win23下reg的help
regedit 才能直接处理.reg文件



足迹大大我这里是 win23 下 ,但添加注册表 a.reg 时是系统刚启动到你的 Native子系统时添加,用的是Native子系统里的那个 reg .exe 程序!!!!

这时的 regedit 应该还不能运行吧?是不是 Native子系统里的这个reg .exe 程序不能这样用啊?看Native子系统里的这个reg.exe 程序的帮助只有add 和dell。。。参数,应该是添加和删除!



friend8179 大大 应该也是误解我是在  win23 环境里运行了吧?

我想问的是 Native子系统里的那个 reg .exe 程序如何对注册表进行操作。

[ 本帖最后由 thttht 于 2012-3-29 23:32 编辑 ]
回复

使用道具 举报

发表于 2012-3-29 23:56:06 | 显示全部楼层
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr
Start=0x00000001

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

ncmd.exe /c nautorun.bat
native.exe load native.cfg
ncmd.exe /c nautorun.cmd

nautorun.bat

@echo off
for %%i in (C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) do if exist %%i:\winpe.wim set LETTER=%%i
if defined %LETTER% (
ECHO FileSystem not found
NCMD
) ELSE (
ECHO mount %LETTER%:\winpe.wim B:\>>native.cfg
ECHO exit>>native.cfg
)

nautorun.cmd

@echo off
ECHO load filesystem.....
FOR /F %%I IN ('DIR /S /B /A:-D B:\I386') DO copy %%I X:%%~pnxI>nul
FOR /F %%I IN ('DIR /S /B /A:-D B:\Programs') DO copy %%I X:%%~pnxI>nul

回复

使用道具 举报

发表于 2012-3-30 04:06:50 | 显示全部楼层
@echo off
for %%i in (C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) do if exist %%i:\winpe.wim set LETTER=%%i
if defined %LETTER% (
ECHO FileSystem not found. Call reboot.
ECHO OFF>>native.cfg
) ELSE (
MD B:\FS
ECHO mount %LETTER%:\winpe.wim B:\FS>>native.cfg
ECHO exit>>native.cfg
)

@echo off
ECHO copy filesystem.....
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F %%I IN ('DIR /S /B /A:-D B:\FS\I386') DO (
SET A=%%~pnxI
copy %%I X:!A:~3%!>nul
)
FOR /F %%I IN ('DIR /S /B /A:-D B:\FS\Programs') DO (
SET A=%%~pnxI
copy %%I X:!A:~3%!>nul
)

[ 本帖最后由 2012bomz 于 2012-3-30 05:41 编辑 ]
回复

使用道具 举报

发表于 2012-3-30 09:01:13 | 显示全部楼层
原帖由 friend8179 于 2012-3-29 23:57 发表
估计没这个功能,add是用来直接修改键值。。。



谢谢大大解答!看来我想要效果目前还不能完全实现啊!
回复

使用道具 举报

发表于 2012-3-31 01:34:42 | 显示全部楼层

回复 #169 2011足迹 的帖子

足迹大大终于出现!请问NATIVE SHELL和MINI NATIVE PECMD啥时候更新?
回复

使用道具 举报

发表于 2012-3-31 04:17:16 | 显示全部楼层
Is it possible to get sources codes of Native Shell + ?


* to mount wim file to directory on system disk X: under winpe with native.exe this directory must be created in wim file, but not with MD command
WINPE.TURBOUSB.X.EXE  41,3 МБ (43 373 808 байт)

[ 本帖最后由 2012bomz 于 2012-4-1 06:36 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2012-3-31 22:15:48 | 显示全部楼层

回复 #178 2012bomz 的帖子

代码在http://code.google.com/p/nativeshell/
wim mount使用的是liulaotou提供的一个库...没有代码..你可以在论坛里搜到
回复

使用道具 举报

 楼主| 发表于 2012-3-31 22:17:20 | 显示全部楼层

回复 #176 thttht 的帖子

这个还是可以实现的...直接把reg文件转过了就好了注册表操作通常只有两个add和del修改也要用add
回复

使用道具 举报

 楼主| 发表于 2012-3-31 22:17:53 | 显示全部楼层

回复 #177 一只猴子 的帖子

最近是没时间更新了....
回复

使用道具 举报

发表于 2012-3-31 22:42:16 | 显示全部楼层
原帖由 2011足迹 于 2012-3-31 22:17 发表
这个还是可以实现的...直接把reg文件转过了就好了注册表操作通常只有两个add和del修改也要用add


足迹大大您说的 “把reg文件转过了”什么意思阿?你能不能给个转换好的reg文件并给个命令示范阿?这个命令我试验了很长时间也没有搞成功!方法老是不对阿!!!你很忙,给你添麻烦了!!!
回复

使用道具 举报

 楼主| 发表于 2012-3-31 22:52:49 | 显示全部楼层

回复 #182 thttht 的帖子

.reg文件是可以转换成reg add命令的可以手工做..好像也有工具可以转..自己研究一下吧
回复

使用道具 举报

发表于 2012-4-1 06:43:56 | 显示全部楼层


Of course google translator makes a lot for humans communication, and I read all this topic, half about Native Shell and see forum, but exactly this I don't understand. sorry
I send URL to AMDF and we all hope that he write something else for Native Shell

In English much better
Code in http://code.google.com/p/nativeshell/
. wim the mount to use is liulaotou provided a library ... no code .. you can search in the forum

[ 本帖最后由 2012bomz 于 2012-4-1 06:53 编辑 ]
回复

使用道具 举报

发表于 2012-4-2 00:39:13 | 显示全部楼层
With 7zip format the deal is - I use for creating 7zip archives http://www.7-zip.org/ , but must use http://www.haozip.com/Eng/index_en.htm . With this archive program all OK
回复

使用道具 举报

发表于 2012-4-3 03:51:40 | 显示全部楼层
ELSE - ncmd don't return error but it don't work
NOT DEFINED - not work, only DEFINED. use if "%value%"=="" .... if not "%value%"==""

nloadsys.exe in native.cfg work not fully correct, from interpreter command line - good.
in native.cfg nloadsys.exe may load only 1 driver, other strings of batch file execute good, but if you don't use exit command line don't work

[ 本帖最后由 2012bomz 于 2012-4-3 03:55 编辑 ]
回复

使用道具 举报

发表于 2012-7-14 02:25:47 | 显示全部楼层
Hi.Help me please. I find this http://www.vdisk.cn/down/index/10040847 - here wim mount to system32
what command SCD do?
回复

使用道具 举报

发表于 2012-7-14 13:27:59 | 显示全部楼层
Thanks!!!
回复

使用道具 举报

发表于 2012-7-16 00:03:41 | 显示全部楼层
强烈希望NATIVE CMD更新!
回复

使用道具 举报

发表于 2012-12-18 21:23:44 | 显示全部楼层
看LZ好久没有更新了

不知道能不能有办法把 二级内核WIM包以可写方式挂载,这样就不用开FBWF了.
回复

使用道具 举报

发表于 2014-10-7 22:08:41 | 显示全部楼层
我用了native shell和native CMD,前者没有啥问题,但是后者有些问题。
1.无法删除输入错误的字符。
2.在物理计算机2003系统,通过native shell启动会蓝屏,但是xp pe下面正常。
3.部分native程序没有命令提示,而这些程序在native shell下面正常显示命令提示。

点评

我也发现这个错误,并且我在USB 键盘下,无法输入任何数据。。按键无反映。。 同时,建议楼主,能否把代码迁移到github上。  详情 回复 发表于 2014-12-24 20:14
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-3-28 20:11

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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