Expand command in Windows
The expand command expands one or more compressed files. You can use this command to retrieve compressed files from distribution drives.
Applies to : Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
The expand command expands one or more compressed files. You can use this command to retrieve compressed files from distribution drives.
Expand command syntax
expand [/r] expand /r [] expand /i [] expand /d .cab [/f:] expand .cab /f:
Parameters
Parameters Description / r Rename the expanded files. source Specifies the file to expand. Source can include drive letters and colons, directory names, file names or combinations of these names. You can use wildcards ( * or ? ). destination Specifies where the file will be expanded.If the source includes multiple files and you do not specify the / r parameter , the destination must be a directory.
Destination can include drive letter and colon, directory name, file name or combination of these names.
Destination file | Describe the path. / i Rename the expanded files but ignore the directory structure.
This parameter applies to: Windows Server 2008 R2 and Windows 7. / d Displays the list of files in the source location. Do not expand or extract files. / f: Specify the files in a cabinet file (.cab) that you want to expand. You can use wildcards (* or ? ). /? Show help at the command prompt.
Note
- Use the expand command at Recovery Console.
- The expand command , with different parameters, is available from the Recovery Console. For more information on Recovery Console, please refer to the article: Installing and using the Recovery Console.
See more:
- Endlocal command in Windows
- Exit command in Windows
- Eventquery command in Windows
4.3 ★ | 4 Vote
You should read it
- How to use the EXPAND function in Excel
- Extremely simple instructions for enlarging photos without Photoshop
- Del command in Windows
- Photoshop's new AI engine allows images to be enlarged with new landscapes
- How to increase MacBook memory capacity
- Google extends retail Chromebooks worldwide
- Cmd command in Windows
- How to expand the Netflix movie repository in Vietnam?
- Fc command in Windows
- The echo command in Windows
- 5 ways to expand the range of Wi-Fi networks
- Command at in Windows