the quick introduction to common scripting languages, as well as sample scripts.
Batch files can be used to automate simple processes in Microsoft Windows. Batch files use the commands of the command prompt, in the simplest case these cmd commands can be entered in a simple text file line by line, it is then executed one command after the other. Windows batch originate from the MS-DOS era. At that time batch files had the file extension .bat. Since Windows 2000 the extension .cmd is used. Additionally there is the possibility to use jump labels or variables, up to more compl...
Robocopy example - server relocation
Even in times of Windows PowerShell there are certain commands that still do not have a worthy successor in Windows PowerShell. One of these commands is undoubtedly the good old robocopy command. ... continue reading
PowerShell: Prevent screen saver, lock: Move mouse regularly
Alternatively, if you can't change the screen lock settings, you can move the mouse regularly, or have a script move the mouse. Originally published as an AutoIt script, I recreated the script with a few PowerShell lines. Anyone who copies the following commands into a PowerShell session will prevent the computer from locking the screen or starting the screensaver: ... continue reading
Restore file version history
The PowerShell script presented here copies the latest files of the file version history to any folder or to another computer. In the copy, the date is removed from the file name, thus restoring the original file names. ... continue reading
Bash function and logging for an rsync backup script
To synchronize multiple folders via rsync, the individual folders for the sync can be written into a bash file as follows, so far so simple: ... continue reading
ESP32 programming, Arduino - install requirements
I have not had much to do with Arduino or microcontrollers, apart from updating and operating my 3D printer. Microcontrollers, for example the ESP32, offer a cheap alternative to the Raspberry Pi for certain purposes, such as collecting data or certain control or monitoring tasks : WLAN and Bluetooth included . After entering new territory for me here, I wanted to share my experience from a beginner's point of view. Background of my efforts was a concrete use case. ... continue reading