Skip to main content

Command Palette

Search for a command to run...

Scripting in Windows

Updated
1 min read
T

I work as a business intelligence developer and a programming tutor for new learners.

Cover photo by Mike Enerio at https://unsplash.com/@mikeenerio

Working with Batch Files

Sometimes the humble old batch file comes in handy to get things done in Windows. If you need something more modern or advanced there are other options for scripting in Windows:

  • Powershell
  • Windows Subsystem for Linux.

Resources:

Batch / CMD Shell Scripting

  • http://steve-jansen.github.io/guides/windows-batch-scripting/
  • https://www.robvanderwoude.com/clevertricks.php
  • https://en.wikibooks.org/wiki/Windows_Batch_Scripting
  • https://www.reddit.com/r/Batch/
    • Lots of good stuff here including a Discord server.

Powershell

  • https://www.reddit.com/r/PowerShell/top/

Bash with Windows Subsystem for Linux

  • https://blog.snowme34.com/post/schedule-tasks-using-crontab-on-windows-10-with-wsl/index.html
  • https://blogs.windows.com/windowsdeveloper/2016/07/22/fun-with-the-windows-subsystem-for-linux/
  • https://docs.microsoft.com/en-us/windows/wsl/interop