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
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.
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.
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
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
@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
@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
)
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.EXE41,3 МБ (43 373 808 байт)
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
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
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