TheCodeProject is a site that hosts user written articles about development for the Windows platform, primarily for the ,Net stuff. Like most user generated sites most of the content sucks. But today I saw something there that is way past the normal suckage. Behold Bat File Compiler. Now at first blush that sound pretty cool, but if you read the article there is no compiling going on, hell there is not even any interpretation of the bat file going on! All this so called compiler does is stick a text file into a resource string of an executable! whats the fucking point of that? I mean it is fucking brilliant. Before my bat file only depended on a cmd.exe now I can depend on the whole .net runtime.
It get more hilarious the closer you look at it.
Take the comments for example: Someone suggests he change code like:
if x > 0:
return True
else:
return False
into
return x > 0
and people actually argue that that change makes the code less clear! Someone need to explain to me how removing 3 lines make it less clear
Or the guy who claims that it would be perfect if only he was encrypting the text before storing it in the executable, so no one can break in and change his bat file. It should be made clear to people that by writing the file out to %TEMP% he is already giving aways the contents of the bat file. Just because the text was unchanged when he wrote it out doesn't mean it wasn't changed between write out and execution. This is something that none of the people commenting on this wonder of a utility seem to grasp. Not even the guy who wrote the damn thing, for proof not the what the dumbass replied when ask what the fuck the point is
For example when you want to protect content of your bat file or when you would like to run it without creating a window.
His program does nothing to protect the contents of a bat file, and it is already possible to run a batch file without creating a window.
The guy's other article are equally hysterical. It is a shame that the few useful article on the site are buried under a mountain of crap like this.
Another fun trick this enable is try storing the stub program (the part that writes out the bat file and then call CreateProcess on it) in itself, for a complicated fork bomb.
Best picture:

Nice mittens.
Weirdest/Creepiest:

It is rather androgynous
However other than that one picture, I have only one question how does a hammer and a pipe wrench, make you a grease monkey?
I also like the "Faves" page that says "neuromancer has no favorite pictures. How can this be?" Lacks anyway to let 'them' know that I lack any favorite pictures because I am a pathetic loser who has never picked any.
There is also an ad that runs across the top of the page for a Tatu albumn entitled "The Best". How can a pair of russian fake lesbians put out a best of albumn, it says sad things about the world.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30


