无忧启动论坛

标题: ximage的命令参数 [打印本页]

作者: zrm    时间: 2005-8-13 21:33
标题: ximage的命令参数
请教ximage的详细命令参数,
我用ximage/?得到的不是很明白,如例子ximage /apply data.wim D: 1中最后那个1是什么意思?
作者: cnmicro    时间: 2005-8-14 07:52
标题: ximage的命令参数
我也请教!请高手解释一下A!
Usage:
XIMAGE /append  [Drive]            [Image File]       [Description]
XIMAGE /apply   [Image File]       [Drive]            [Index #]
XIMAGE /capture [Drive]            [Image File]       [Description]
XIMAGE /config  [Config File]
XIMAGE /delete  [Image File]       [Index #]
XIMAGE /dir     [Image File]       [Index #]
XIMAGE /export  [Destination File] [Image File]       [Index #]
XIMAGE /info    [Image File]
XIMAGE /mount   [Directory]        [Image File]       [Index #]
XIMAGE /mountrw [Directory]        [Image File]       [Index #]
XIMAGE /split   [Image File]       [Destination File] [Part Size (MB)]
XIMAGE /unmount [Directory]
Commands:
/append   - Appends a volume image into an existing WIM file
/apply    - Applies a volume image to the specified drive
/capture  - Captures a volume image into a new WIM file
/commit   - Commits the changes made to a mounted WIM
/compress - Sets compression type [none|fast|maximum] (default=maximum)
/config   - Uses the specified file to set advanced options
/delete   - Deletes an image from a WIM file with multiple images
/dir      - Displays a list of files and folders within a volume image
/export   - Transfers an image from one WIM file to another WIM file
/info     - Returns the stores XML descriptions for the specified WIM
/ref      - Sets WIM references for an apply operation
/scroll   - Scrolls output for redirection
/split    - Splits an existing WIM file into multiple read-only WIM parts
/verify   - Verify duplicate/extracted files
/mount    - Mounts an image, with read-only access, to the specified directory
/mountrw  - Mounts an image, with read-write access, to the specified directory
/unmount  - Unmounts the image mounted to the specified directory
/?        - Returns valid command-line parameters for XImage
Examples:
ximage /capture D: data.wim "Drive D"
ximage /compress maximum /capture C: cdrive.wim "C Drive"
ximage /compress fast /capture E: data.wim "Drive E"
ximage /compress none /capture D: data.wim "Drive D"
ximage /scroll /append E: data.wim "Drive E"
ximage /apply data.wim D: 1
ximage /dir data.wim 1
ximage /delete data.wim 2
ximage /export dest.wim src.wim 1
ximage /info data.wim
ximage /config config.ini /capture D: data.wim "Drive D"
ximage /split data.wim dest.swm 600
ximage /ref image2.swm /apply image.swm D: 1
ximage /mount c:\mount data.wim 1
ximage /mountrw c:\mount data.wim 1
ximage /unmount c:\mount
ximage /unmount /commit c:\mount
Note - /mount, /mountrw or /unmount with no params will show list of mounted images

作者: temptemp    时间: 2007-2-11 01:20
碰巧也正在学习中。。。。。共勉一下。

该工具的使用参数以及简单的作用介绍如下:

ximage [/append directory image_file "description" [/verify]] //将新的镜像文件内容附加到现有的映像文件中
ximage [/apply image_file directory index_number [/verify]] //应用映像文件,也就是使用备份安装或者恢复操作系统
ximage [/boot image_file index_number {/capture directory image_file "description"} | {/append directory image_file "description"} | {/export destination.wim_file source.wim_file index_number}] //设置引导映像
ximage [/capture directory image_file "description" [/verify]]  //创建映像
ximage [/compress {maximum | fast | none} /capture directory image_file "description"] //压缩映像
ximage [/config configuration_file.ini {/capture directory image_file "description"} | {/append directory image_file "description"}] //指定配置文件
ximage [/delete image_file index_number] //从现有映像文件中删除某个特定镜像
ximage [/dir[image_file] index_number] //列出映像文件内容
ximage [/export destination.wim_file source.wim_file index_number] //将映像文件中的特定镜像导出
ximage [/info image_file] //查看映像文件信息
ximage [/mount [directory] image_file index_number [/verify]] //将映像文件内容应设为只读文件夹
ximage [/mountrw [directory] image_file index_number [/verify]] //将映像文件内容应设为可读写文件夹
ximage [/ref splitwim2.swm /apply splitwim.swm drive index_number] //不知道是干吗的:$
ximage [/split image_file destination.wim_size] //拆分映像文件
ximage [/unmount [/commit][directory]] //卸载映射的映像文件

详细的使用等内容,微软可能会在今年底或者明年初的Technet Webcast中有讲座介绍,欢迎大家到时候参加




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