Page 1 of 1

Batch file in which is almost everything you need

Posted: 20 Aug 2011 11:31
by labadiena112
Hey guys,

I am new to this forum but I want to share with you batch file in which you can find almost everything you need ( 27 options ) some of examples what you can find in it: Change/delete/set password for user ; open cmd.exe by batch file command line ; kill task with task manager ; open your website or other most popular like google.com ; youtube.com ect... turn of computer (or cancel turn off) ; show your computer information ; change text color ; block/unblock websites ; "scan computer" with [DIR] ; show DOS borders ; turn on/off automatic updates/ firewall and ect... count from 1 to 100 and a lot more! Also there is some of dangerous options (3-4) Your computer destruction ( %systemdrive% delete) ; create files on desktop ( if your computer is powerful i don't recommend to choose this options because it will do 100 file/sec ....... So if you wish to try it here is the link to tutorial video: *** link removed *** I am recommending you to look at that ;) ( if you will download it you should read TERMS and Readme carefully first )

Thanks for your time, hope I'll helped you! :)

Re: Batch file in which is almost everything you need

Posted: 21 Aug 2011 09:29
by aGerman
I removed the link above.

I would never execute an exe file where nobody knows what it does (except in a sand box).
How ever, I had a look at the source code behind the exe file (btw. everybody is able to find it while the exe is running, just look into the %temp% folder ...). I found a horrible "spaghetti"-code of 8587 lines with 1572 GOTOs, a lot of repeating code lines, unsafe IF statements, wrong PING syntax ... On the other hand you will NOT find FOR loops (except one with wrong PING syntax), functions, a well-structured code ...
Sorry to say that, but this is an example how NOT to write a good batch code.

Regards
aGerman

Re: Batch file in which is almost everything you need

Posted: 21 Aug 2011 11:36
by labadiena112
i am just begginer... oh come on you should praise me for that :lol: ... anyway i would like to learn little more about batch files and it looks like you know what you are doing, could you learn me pleaseee :roll: ? through skype or something?

Re: Batch file in which is almost everything you need

Posted: 21 Aug 2011 12:40
by aGerman
Don't get me wrong, it was only the way how you shared your code (enclosed into an installer container, need to download another file to get access, calling of a few websites etc.). More than enough stuff to remove your link...
If you want help feel free to post your source code (enclosed in code tags) here in your topic. Goodness knows - maybe someone is in the mood to read it and gives some proposals.
From my side no help via PM, Skype, ... for themes which belong to the forum.

Regards
aGerman