@echo off REM Specify the file names and bucket name set "destination_file=ADLS_Task.parquet" set "bucket_name=qr_bucket_2023" REM we set parameter to be passsed in set PARAMETER=%1 REM Use gsutil to copy and rename the file in the bucket gsutil cp "gs://%bucket_name%/%PARAMETER%" "gs://%bucket_name%/qr_tasks/HumanResources.eerwe/%destination_file%" if %errorlevel% equ 0 ( echo File renamed successfully to %destination_file% in bucket %bucket_name%. exit /b 0 ) else ( echo Error occurred while renaming the file in the bucket. exit /b 1 )