Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Ethical hacking (http://www.go4expert.com/forums/ethical-hacking-forum/)
-   -   MS-DOS and basic scripting (http://www.go4expert.com/forums/ms-dos-basic-scripting-t14823/)

germanboy104 27Oct2008 23:29

MS-DOS and basic scripting
 
So yea, most kids nowadays just pull up CMD to look like some . And, its true, the appearance of a MS-DOS prompt screen will frighten most computer teachers :D

but, most kid's knowledge concerning DOS is limited to knowing how to run the executable.
so.....if u want to learn mo read on! but, im really not sure if im posting this in te right place... :confused:
or if anyone is gonna read it
but w/e!! i really dont care.....just sharin some knowledge ive picked up on in te world of IT!! :)

well, imma start with te basics, MS-DOS, CMD, Command Prompt, whatev. u call it, is a powerful direct user->computer interface found on almost all windows operating systems. basically, your computer runs off of this command shell, and accessing it can allow you to perform tasks that may not be possible were you attempting to accomplish them any other way........
this is why linux is such a secure operating system, because CMD basically presents a user all the tools he would require to write a hack or simple virus or spam e-mail or w/e he wants to do!! And CMD is only on windows based OS. Its a lot harder to write a virus for a linux system...... :o

Anywho, there are a few simple commands that u can use in the command shell (CMD) to accomplish many tasks, just google it and ull find many useful commands to do whatever!!

but if u really wanna have some fun, or if u have multiple tasks that u perform consistently, u should make a batch file to accomplish these easily and quickly.
to make a batch file, simply type "edit title.bat" into the command line.......
("title" being the name of the file u wish to create or edit)
a blue screen will appear, and u can then start scripting!!
:smug:

basically, to script u only need to write commands u would type into the command line in succession. for example
"Start cmd.exe"
"tree"

this really serves no purpose.....but will open a new cmd window, and show all the files on ur computer.......

but to run this batch or script, simply type "Title" into the command line.....thatll run the file

scripts can become really complex....with variables and ftp and such...... :crazy:

but combining commands can yield significant results.

shabbir 28Oct2008 10:02

Re: MS-DOS and basic scripting
 
I never knew about the tree command to be honest.

neo_vi 28Oct2008 14:50

Re: MS-DOS and basic scripting
 
I too know only some months ago. I read that in a tutorial.


All times are GMT +5.5. The time now is 09:00.