REM Delete all old upgrade download and install files for Google Products
REM Fri 20-Mar-15 metadataconsulting.ca
REM RMDIR DOS COMMAND
REM /S = Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree.
REM /Q = Quiet mode, do not ask if OK to remove a directory tree with /S.
echo. Begin delete all old upgrade download files for Google Products
RMDIR /S /Q "%HOMEPATH%\\AppData\\Local\\Google\\Update\\Download"
MKDIR "%HOMEPATH%\\AppData\\Local\\Google\\Update\\Download"
echo. End delete all old upgrade download files for Google Products
echo. Begin delete all old upgrade install files for Google Products
RMDIR /S /Q "%HOMEPATH%\\AppData\\Local\\Google\\Update\\Install"
MKDIR "%HOMEPATH%\\AppData\\Local\\Google\\Update\\Install"
echo. End delete all old upgrade install files for Google Products