Submitted by Cleariam in programming

Batch scripting is always a fantacy of ours as we all must have played with batch when we first knew that we can create a fake virus when we were kids , learning it will be more fun and can help us in some or the other way.

1.Learning it online https://www.geeksforgeeks.org/basics-of-batch-scripting/

https://steve-jansen.github.io/guides/windows-batch-scripting/

https://www.section.io/engineering-education/dive-into-batch-scripting-language/

  1. Learn it in the form of pdf https://www.pdfdrive.com/download-batch-script-tutorial-pdf-version-d33413132.html

Use the option goto pdf and then it must open in google drive u can download the pdf from there ..

Hope this helps.

2

Comments

You must log in or register to comment.

OrIsThatSo wrote

Batch isn't such a capable language, so you (usually) use PowerShell instead. But powershell is so hard and unintuitive, and such a weird language it just sucks. Bash is so so much better. Bash just makes sense. PS doesn't,

2

zip wrote (edited )

I don't use Windows anymore so this isn't a problem for me, but I still don't get why there's no native Windows port of bash (or another sh-like shell) yet. sure, there's cygwin, mingw, and git bash but they all just sort of emulate a unix environment. I don't see why an sh couldn't work on Windows, do people just not care enough?

2

OrIsThatSo wrote

I don't use windows at my home neither, but most corporation and offices can't exist without windows so it's hard to just ignore their existence.

yet, Technically, you have WSL (Windows Subsystem for Linux) if you wanna use linux. It has mount to the C driver on the windows host, and is actually pretty good. WIndows these days include a whole linux kernel inside them. If you have the chance - give it a go. it's really nice when you have to use Windows but wanna have the familliar bash shell (or you can install like zsh or whatever).

3

spocino wrote

It's probably just too much work to do it for free when powershell exists

1

zip wrote

powershell is so much worse tho. idk how you design a shell and make the conscious decision to not include &&

2