L
L
Leonid Volkanin2013-07-16 07:25:53
cmd/bat
Leonid Volkanin, 2013-07-16 07:25:53

Interesting .CMD scripts?

Good afternoon!
Getting ready for the next academic year. In the first year, future KN bachelors urfu.ru/home/faculties/imkn/ have the subject “Operating Systems”. We have historically developed a division of lecture material (in fact, to teach how a computer executes programs) and practices (to show how to work “not with a mouse” in Windows and Unix).
I think that 90% of students with the command line did not work before - this in itself is a big shock. In the first practical lessons, it is important to impress and interest. For example, we demonstratively remove the mouse and use only the keyboard.
We came to the conclusion that we need to show motivating examples in the first lessons - scripts that do some kind of magic. Not to disassemble how they are arranged, but simply to show that it was “cool” and it was clear why it was all.
The problem is that first-year students have not yet encountered tasks that require automation. It is unlikely that the backup script will impress them. Maybe a magic script that activates windows :)
In general, help with examples, %username%!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
greechnik, 2013-07-16
@volkanin

You can look at Habr's articles on the fascinating BATanics:
Creating a BMP with Mandelbrot set on bat
Tic-tac-toe on bat
Using bat files to create "Scheduled Tasks"
Chat on bat

C
cjey, 2013-07-16
@cjey

automatic download of a new episode of your favorite series via torrents (although it’s not very clear how to visualize this)

M
microphone, 2013-07-16
@microphone

For us it was “parse the http server logs, find a specific request” with a bunch of all sorts of options, sometimes the teachers were given in a kind of game form with a competitive initiation “find and neutralize” (at least find). You can also come up with something exciting and interesting, related to labor-intensive processes, show how pipelines are arranged, and so on ... There are probably a lot of real-life examples of what scripts are used for, you can show how you can send 100 letters from the console without opening neither the browser nor "the bat!" not even Outlook...

I
Ilya Evseev, 2013-07-27
@IlyaEvseev

Did you catch 4DOS? It was such a song, after which even all Unix shells seemed squalid.
The people on BTM just did not write .
Try looking at its successor - jpsoft.com/tccle-cmd-replacement.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question