I have script located at : C:\A\B\test.bat
In script I get parent directory of script by command :  parent_dir=~dp0
= > I got : C:\A\B
So how can I get parent of parent dir : C:\Aand set to a variable
try this:
for %%B in (%~dp0\.) do set c=%%~dpB
    for %%B in (%~dp0\..) do set c=%%~dpB - besides that, this is the best answer. AND it answers the questions correctly (from the example in the question, they want the parent, not the grandparent (just bad wording))echo thanks
@echo off
SET CurrentDirectory=%~dp0
echo %CurrentDirectory%
for %%B in (%CurrentDirectory%.) do set parent=%%~dpB
echo %parent%
for %%B in (%parent%.) do set grandparent=%%~dpB
echo %grandparent%
start "" msiexec /a %parent%AcroPro.msi