At a command prompt, type diskpart.exe.Type list volume to display the existing volumes on the computer.Type Select volume volume number where volume number is number of the volume that you want to extend.Type extend noerr
If no disk is specified, the volume is extended on the current disk.
noerr
For scripting only. When an error is thrown, this parameter specifies that Diskpart continue to process commands as if the error did not occur. Without the noerr parameter, an error causes Diskpart to exit with an error code.
Type exit to exit Diskpart.exe.
noerr
For scripting only. When an error is thrown, this parameter specifies that Diskpart continue to process commands as if the error did not occur. Without the noerr parameter, an error causes Diskpart to exit with an error code.
Type exit to exit Diskpart.exe.