Relative Content

Tag Archive for batch-filecmd

Find and compare folder modification times

I ask for help
It is necessary to compare the date and time of folder modification and if the folder has not been modified for more than 4 hours then echo 1 if it has been modified then 0

How to create a RAR archive with increasing name using batch commands?

I want to create a rar archive whitch one to have a files from a folder and to check if there is existing archive with the same name, if so to make the name of the archive increasing with 1 (if have file archive.rar to create archive1.rar, archive2.rar …). Almost everything is used of the internet, because i am learning it from a few days, but it didnt work as i want it to.

Save to OneDrive document folder

I am looking to change the destination C:WarrantyPCBackup instead to users onedrive documents folder instead. By doing this it will dump the data into the synced OneDrive folder to the new pc. I need it generalized so i can use it on any endusers machine. Another issue i have found is its not copying all the google chrome folders.

starting a cmd window that runs multiple actions

i want to start a cmd window with the “start” command in a .bat file that runs multiple commands without user input. for example i want to open a cmd window using BATCH that runs the following commands: