Create a New Batch File with the following:

@echo off
:: variables
set onedrive="C:\Users\Debashish\OneDrive\NIT-Lab-Desktop"
::set googledrive="C:\Users\Debashish\Google Drive\NIT-Lab-Desktop"
set backupcmd=xcopy /s /c /d /e /h /i /r /y

echo ### Backing up My Documents To Google Drive...
%backupcmd% "%USERPROFILE%\Documents" "C:\Users\Debashish\Google Drive\NIT-Lab-Desktop\Documents"
echo ### Backing up My Desktop To Google Drive...
%backupcmd% "%USERPROFILE%\Desktop" "C:\Users\Debashish\Google Drive\NIT-Lab-Desktop\Desktop"

echo ### Backing up My Documents To Microsoft One Drive...
%backupcmd% "%USERPROFILE%\Documents" "%onedrive%\Documents"
echo ### Backing up My Desktop To Microsoft One Drive...
%backupcmd% "%USERPROFILE%\Desktop" "%onedrive%\Desktop"

echo ### Backing up My Documents To D Drive...
%backupcmd% "%USERPROFILE%\Documents" "D:\Documents"
echo ### Backing up My Desktop To D Drive...
%backupcmd% "%USERPROFILE%\Desktop" "D:\Desktop"


:: use below syntax to backup other directories...
:: %backupcmd% "...source directory..." "%drive%\...destination dir..."

echo Backup Complete!
@pause

 

Save the above with file with an extension of .bat.

Run it manually to back up your files and folders.

Use Windows Task Scheduler to schedule backup in fixed intervals by running the same batch file.