[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>The time a batch script takes to execute is at least O(n*(n-1)/2)
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 12
Thread images: 2
File: nt31logocut.png (4 KB, 355x425) Image search: [Google]
nt31logocut.png
4 KB, 355x425
>The time a batch script takes to execute is at least O(n*(n-1)/2) (aka O(n^2)) in the LENGTH OF THE FILE, INCLUDING COMMENTS. The reason is that the batch engine reads the entire file, then executes a line, then reads the file again, then executes another line, and so on.
>It is therefore customary to use a GOTO to skip over sizable comment blocks, so that you don’t have to “execute” them.
Good job Microsoft
>>
it is to make sure no bug is included.
us government still uses 3.1.
>>
>>55042901
This still applies to Windows 10
>>
>>55042881

I can forgive Microsoft for this because in Windows 10, the cmd.exe window is now resizable.
>>
File: latest.jpg (212 KB, 544x408) Image search: [Google]
latest.jpg
212 KB, 544x408
>>55043714
>>
>>55043714
It's always been resizable, genius.
>>
>>55044057
Uhh, no it hasn't. You could only resize it vertically. Horizontal size had to be configured somewhere in the Options window, which was a stupid pain in the ass.

In Windows 10, you can finally resize it any way imaginable, just like any other sane terminal allows you to.
>>
We cheated on the old days by using :: as a rem statement
>>
>tfw microsoft still uses batch scripts like razzle.cmd to compile windows
>>
>>55044078
>it's not resizable except when it is
>>
Why did they create BATCH instead of some dialect of BASIC considering Microsoft's history with that?
>>
>>55044846
>tfw compiling Windows is black magic that even Microsoft doesn't understand
Thread replies: 12
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.