pause syndEdosLocal to Sqlsrv7 " set src="D:\l\src\cs2025\eDosStation\syncEdosLocal\bin\Release" set C="%cd:"=%\bin\release" if /I %src%==%C% (echo "Path OK ") else (echo "Path issue !") Pause was ok ? set dst="\\sqlsrv7\c$\Soft\eDos2025" ::set zip="eDosStation.tar" ::tar -cf %zip% -C %src% --exclude *.zip *.* set zip="eDosSync.zip" "c:\program files\7-zip\7z.exe" a -r %zip% .\bin\release\*.* xcopy %zip% %dst% /i /h /R /y :: %src:"=% remove quotes :: %src:"=%\*.*9 remove quotes and add \*.* :: /i If destination does not exist and copying more than one file, assumes that destination must be a directory. :: /h Copies hidden and system files also. :: /r Overwrites read-only files :: /y uppresses prompting to confirm you want to overwrite an existing destination file. :: /s Copies directories and subdirectories except empty ones pause