Expand command in Windows
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
- 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
May be interested
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Xcopy command in Windowsthe xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
- The cacls command in Windowsthe cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.