Do you really need to enclose a path in quotation marks in modern cmd?
(Just in case, my OS is Windows 10.) I can’t seem to figure out why anyone would want to put quotation marks around a path: the path is “interpreted” properly when they are absent, so they don’t make any difference.
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
External/internal command not recognized
I’m trying to host a Valheim server but when I attempt to open the batch file it just doesn’t.
How to echo out a line ending in a “=0” into a file
Using the batch file generator.bat
:
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.
How do I make a batch file ask for user input?
I’m trying to make a batch file-based game, and i want to be able to collect user input. It should be a bit like the pause command, but asks for input from the user.
Windows Batch Script to remove drive letter
I spent a few hours trying to figure this out. Please kindly provide a little help:)
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:
.Bat replace double Carriage Return and Line Feed with single Carriage Return and Line Feed
I returned to work on my old script and wanted to tackle a minor issue I have. As the title says I would like to replace double Carriage Returns and Line Feeds with single Carriage Returns and Line Feeds in specific txt files to remove empty lines. I want to automate this since it’s not needed for every part of the final txt file but only smaller sections.