Expand Command In Windows Server 2008
In this article I am going to explain about Expand command in Windows Server 2008 operating system and also explain it's related syntax.
Introduction
Expand command is available in all versions of Windows except 64-bit version of Windows XP. Expand command is used to expand single or set of compressed files to its original format. This command can also be used for retrieving compressed files from distribution disks.
Syntax
expand [/r] <source> <destination>
expand /r <source> [<destination>]
expand /i <source> [<destination>]
expand /d <source>.cab [/f:<files>]
expand <source>.cab /f:<files> <destination>
|
Parameters in expand command
There are the following parameter in the expand command:
Parameter |
Description |
/r |
Automatically renames expanded files. |
source |
Specifies the file that you want to expand. Wildcards(* and?) may be used |
destination |
Specifies file and location where the files are to be expanded. |
/i |
Renames expanded files but ignores the directory structure. This parameter is available in Windows Server 2008 R2 and Windows 7. |
/d |
Displays the list of files present in source. It only specifies list and does not extract the files. |
/f: |
Files you want to expand are specified in cabinet. Wildcards (* and ?) may be used. |
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here