Question: I need a little help with one batch script and `xcopy`. I have a folder with a lot of different folders inside. For example: "Test" is the primary directory and inside I have `New folder 1`, `New folder 2`, `New folder 3`... Every week these folders have to copy to different servers. 

My script is: 

```
if exist "%dir%\New folder 1" (
  xcopy %dir%\New folder 1 C:\Users\user1\New folder1 /i /q /s /y /z
  echo New folder 1 copied successfully
) 
if exist "%dir%\New folder 2" (
  xcopy %dir%\New folder 2 C:\Users\user1\New folder2 /i /q /s /y /z
  echo New folder 2 copied successfully
)

```

I need to update my script to show me the errors on `cmd` when `xcopy` cannot copy some files.

Answer: 
There is a simple fix using `table-cell`, which you hinted at in your fiddle:

```
#right {
    height: 450px;
    width: 50%;
    background-color: #CCCCFF;
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #333;
    display: table-cell;
    vertical-align: middle;
}

```

In your original example, you declared `float: left` and as a result `div#right` will not behave like a `table-cell` since its `display` value is computed to be `block`, so you lose the vertical alignment control.

Reference: To learn more about computer value of `display`, see:  

<http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo>
Put your table *inside* another table, like in the following code sample:

```
<div id="right">
    <table style="vertical-align: middle; height: 100%; width: 100%;">
        <tr>
            <td>
               // your table
            </td>
        </tr>
    </table>
</div>

```