无忧启动论坛

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

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

  [复制链接]
1#
发表于 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 编辑 ]
回复

使用道具 举报

2#
发表于 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 编辑 ]
回复

使用道具 举报

3#
发表于 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 编辑 ]
回复

使用道具 举报

4#
发表于 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 编辑 ]
回复

使用道具 举报

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

使用道具 举报

6#
发表于 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 编辑 ]
回复

使用道具 举报

7#
发表于 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
回复

使用道具 举报

8#
发表于 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 编辑 ]
回复

使用道具 举报

9#
发表于 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

回复

使用道具 举报

10#
发表于 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 编辑 ]
回复

使用道具 举报

11#
发表于 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 编辑 ]
回复

使用道具 举报

12#
发表于 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 编辑 ]
回复

使用道具 举报

13#
发表于 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
回复

使用道具 举报

14#
发表于 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 编辑 ]
回复

使用道具 举报

15#
发表于 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?
回复

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-17 08:12

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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