View Full Version : MS-Dos Programming
Cj Shadows
07-11-2006, 07:22 AM
Has anyone ever tried programming in Ms-Dos? I think it just uses batch files and batch file codes.(.BAT), Well any way I dont suggest starting programming in it or programming in it at all, you have a chance of messing your computer up. Well just dont play with the main frame at all.
hiboy2004
07-11-2006, 03:39 PM
Is this from personal experience? It sounds beleivable. I myself haven't tried using it O.o
Cj Shadows
07-11-2006, 05:39 PM
Is this from personal experience? It sounds beleivable. I myself haven't tried using it O.o
Yea it's what people used way back when there was no such thing as C++ or Java or really any compiler or Direct X. They used it do make those little pong games, and they had to make their own video cards with it. What MS-DOS is, its really the main frame of the computer, that links everything. Like connection to internet, how your programs are run, and much more. Its kinda dangerous to try and program in it and poiintless.
naruto1327
07-15-2006, 08:42 AM
MSDOS isn't a programming language, its a console application used for C++...
Cj Shadows
07-15-2006, 01:06 PM
MSDOS isn't a programming language, its a console application used for C++...
I never said its a programming launguage, but if you know thr=e right commands there is a way to bring up a file editor....
TwitcH
07-15-2006, 08:18 PM
These posts are just so wrong. When I can be bothered i'll show you what programming in BATCH can do and show you that DOS is a VERY powerful tool. But I cant be bothered right now..
naruto1327
07-16-2006, 12:52 AM
Yeah, It's kind of like a computer without a Graphical User Interface.
XceeD
07-16-2006, 01:05 AM
Has anyone ever tried programming in Ms-Dos? I think it just uses batch files and batch file codes.(.BAT), Well any way I dont suggest starting programming in it or programming in it at all, you have a chance of messing your computer up. Well just dont play with the main frame at all.
... a batch file is just lines of MS-DOS commands... they made batch files so you don't need to write multiple lines of commands every time you want to do something. ie, if you want to run a server that has 10 files needed to be ran each time, you can make a batch file to run it...
I never said its a programming launguage, but if you know thr=e right commands there is a way to bring up a file editor....
By saying "Has anyone ever tried programming in Ms-Dos?" we're assuming you're calling it a programming language......... it's common sense...
and also, have you ever tried this in command line: (and if you don't know, Start>Run...>cmd)
edit [location of a txt file or something]
yes, a text editor...
And lemme summarize it up in the end... ms-dos isn't a programming language and it isn't used for games or anything or any type of programs, it's used to run multiple lines of commands at once (or do it in cmd...) and it cannot ruin your computer unless it says delete c:\ or something... ... ...
Next time you post something like this, you should do a little research in it.
TwitcH
07-17-2006, 12:00 AM
Guess my explaining is not needed :D
Now go look up batch programming, stuff is damn useful, i've got a little .bat file on my desktop to show me what my IP is since it's dynamic ;) It's pretty handy, not destructive -.-
Although saying that I have seen a few bat script virus's, so yeah it's only dangerous if you intend it to be :)
XceeD
07-17-2006, 01:49 PM
the thing is, the only evil scripts there can be is deleting things on your computer and you didn't know it did that. every other BAT is rather useful in some ways... like changing over 100 filenames. if you did that by hand, man, that'll take a while... but BAT, bam, it's done. it's not a bad thing to learn how to write a BAT but it's not that useful (anymore at least).
TwitcH
07-17-2006, 04:43 PM
I think VBScript has basicly taken out the need for BAT files nowadays, it's much more flexible and is just as easy to learn.
cederron
07-22-2006, 12:37 AM
Jesus! this thread made me sick and i registered just to reply!
MS-DOS is not a programming language, not a scripting language, and not "the computer framework" :eek:
MS-DOS is an operative system, yea the first OS that bill g and a friend wrote. It has no graphical user interface so you need to type the commands you want to perform(Just like linux without the graphics stuff). BAT files are ms-dos commands written to a file that can be run consecutive, line by line, In fact, some boot disks that boot the computer with the ms-dos OS still are used.
Nowadays MS-DOS is a deprecated OS that is emulated by windows just to have some compatibility with old applications ( at my work place we still use some ms-dos applications but our OS is windows ), because ms-dos is(or was) an operative system you can delete files, format harddrive, partittion harddrive and all the stuff.
So everybody repeat with me:
Ms-DOS is an operative system without graphical user interface.
Nowadays it's deprecated but emulated by windows.
.Bat files are batch files that execute ms-dos commands.
If you want to feel ms-dos just do Start->Run->cmd and thats what people saw 15 years ago when they bootted up their computers. No windows!
Edit: for example 20 years ago to copy files to another directory you had to write "copy c:\*.* c:\newdir" that makes a copy of all the files in c: to directory "newdir". Because typing a lot of commands like this one could be time consuming .bat files where created to not need to type a lot of commands by hand. Nowadays I use it to make a backup of the programs i'm writing, I have a file in my desktop called "BackUp.bat" and contains this line "copy C:\programming\*.* F:\Backups /s /y". Whenever i want to make a backup of my files i just double click the file and it backups all the data to external drive f: . Just an example.
naruto1327
07-22-2006, 08:01 PM
That's what I'm trying to say!
XceeD
07-25-2006, 06:20 PM
You basically repeated what I said :/...
Cj Shadows
07-25-2006, 08:33 PM
Guess my explaining is not needed :D
Now go look up batch programming, stuff is damn useful, i've got a little .bat file on my desktop to show me what my IP is since it's dynamic ;) It's pretty handy, not destructive -.-
Although saying that I have seen a few bat script virus's, so yeah it's only dangerous if you intend it to be :)
I know what Ms-DOS is capable of doing...I revamped my comp with it.And i know one way its powerfull is because u can hack with it. And yea make viruses, u just need to know the hidden commands...
naruto1327
07-25-2006, 11:14 PM
The commands aren't meant to be hidden... It's like playing a game you've never played before.
Cj Shadows
07-26-2006, 12:07 AM
The commands aren't meant to be hidden... It's like playing a game you've never played before.
Yeah but I dont think they want you to know how to hack, and the commands you can use to hack with....
XceeD
07-26-2006, 02:10 AM
You can't hack with just MS-DOS... you can hack with Telnet THEN use MS-DOS on the computer you hacked...
In short, you can't hack with MS-DOS!!!:mad:
Cj Shadows
07-26-2006, 03:14 AM
You can't hack with just MS-DOS... you can hack with Telnet THEN use MS-DOS on the computer you hacked...
In short, you can't hack with MS-DOS!!!:mad:
................................
Okay u open up Ms-Does you either type in telnet and enter or type telnet IP Port Number Example: Telnet 10.8.99.88 81
TwitcH
07-26-2006, 12:06 PM
MS-DOS doesnt even exist in newer operating systems, it has been replaced by a command line interface which is like MS-DOS called cmd.exe.
cmd.exe is an interface to give you access to commands such as telnet, netstat, ipconfig and lots lots more, most of which can be used for hacking or gathering useful information to help with hacking.
BAT files are just a way of taking these commands and running them one by one in a script like way, people have and still do exploit this to make viruses that will wipe entire harddrives or as a sneaky way to get the user to download trojans and backdoors. Other people will use it to make jobs such as telnetting to 10 different computers an easy task to do.
I dont think anything more on the subject needs to be said, unless I need correcting.
XceeD
07-26-2006, 03:50 PM
:/, didn't know cmd had telnet in it xD, woops. Sorry about that.
But the thing is, hacking (listen to me carefully) isn't dangerous to any computer. Yea, everyone's like :eek: .
Okay, lemme explain. Hacking is viewing data from a computer where you do not have permission. VIEWING data, not destroying data. And I don't think you can do anything to destroy data using telnet unless you opened a port so that they can do things on your computer. Other than that, I don't see the dangers of it. Like if they go on the 80 (webserver) port, what are they going to do :/?
TwitcH
07-26-2006, 03:53 PM
Like if they go on the 80 (webserver) port, what are they going to do :/?
Denial Of Service, Buffer Overflow, Stack Overflow, SQL Injection...
Just to name a few ;)
Anyways this topic isnt about hacking it's about programming in a DOS environment, I think we strayed a bit off topic >.<
Cj Shadows
07-26-2006, 04:10 PM
Denial Of Service, Buffer Overflow, Stack Overflow, SQL Injection...
Just to name a few ;)
Anyways this topic isnt about hacking it's about programming in a DOS environment, I think we strayed a bit off topic >.<
-Lets just stray off topic a bit more for this......
Hacking on someones comp and looking for holes and patches in security is White Hat Hacking i think....
And to send a virus like a trojan, there is a port you have to hack onto, unless u hav sum1 download it.
To hack to someones comp, you get scan a certain active port which has the password files, then unencrypte it, then u can log on.
TLM should kno since his sig says Master Hacker
TwitcH
07-26-2006, 04:22 PM
-Lets just stray off topic a bit more for this......
Hacking on someones comp and looking for holes and patches in security is White Hat Hacking i think....
And to send a virus like a trojan, there is a port you have to hack onto, unless u hav sum1 download it.
To hack to someones comp, you get scan a certain active port which has the password files, then unencrypte it, then u can log on.
TLM should kno since his sig says Master Hacker
Well yeah if you put it really really simply it go's like that, but that's not even anywhere near what real hacking is about. I'm making a sort of hacker training site soon, i'll let you all know when it is ready and then you can learn teh hax. But I dont think we are allowed to be discussing real hacking methods on here.
cederron
07-26-2006, 06:14 PM
But all this about hacking... it's like say "Windows XP is dangerous because you can hack with it" . It's pointless.
TwitcH
07-26-2006, 06:26 PM
Exactly the reason I'm going to lock this post, try and stay OT guys ;)
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.
SEO by
vBSEO 3.2.0