Make a DOS Command

 by puffyfluff
Many people think that DOS is outdated, but I don't think so. You can do many things with DOS,and even Eric Wilhelm uses it! (See here) Some of the things you can do with DOS include giving yourself access to important files (good for hacking), deleting things, backing up things, showing all the files and folders in a folder, making simple but harmful viruses, and reformatting hard drives (!!). Unfortunately, when you want to run a program you made, you must type in the location if you want other information to be passed on to it. This instructable will teach you how to essentially make a command so you don't have to do this.
 
Remove these adsRemove these ads by Signing Up

Step 1: Making the Program

Start by making a DOS executable. A DOS executable is a program that is run through CMD. These files can have six extensions: .exe, .com, .bat or .cmd .vbs or .vbe. Note that that you can use things passed into the program with %1, %2, %3 and so on.

When you have the program ready, rename it to the command you want, followed by its extension. Note that the command cannot contain spaces.

When ready, continue to step two.
1-40 of 42Next »
microchip55 says: Nov 5, 2009. 2:14 PM
you have to have admin permissions to though! is there a way without being a admin or making you on in cmd?
puffyfluff (author) in reply to microchip55Dec 27, 2009. 9:42 AM
Yes, that's true, you need admin powers to access system32.  Of course, you can always just change the admin password using DOS...but that's probably something you shouldn't do.
chriskarr in reply to puffyfluffJan 12, 2010. 9:00 PM
Another method of accessing System32 is using Linux on an external drive and connecting it to the Windows box. You have full access to all of the system's files and the system administrator can do nothing about it! My friend, Tyler, does this and deletes system32 or renames it to profane names or things which are memes.
microchip55 in reply to chriskarrJan 16, 2010. 8:12 AM
but HOW would you do that?
chriskarr in reply to microchip55Jan 17, 2010. 10:25 AM
You would go about doing this by installing a linux partition on a USB hard disk, inserting the hard disk and, when the "select bootable hard disk' message appears, choose your removable disk. The computer will boot off of your disk and the entire hard disk of the system will be easily manipulated without restriction.

Linux is an interesting OS. When you're using it on a harddrive also containing Windows, it says, "You know what? Go ahead and f*** this OS up; it's not me, so I don't care."
When you try to access files in a Linux partition from a Windows partition or a different Linux partition, the one which you're trying to access says, "What do you think you're doing? These are mine, and I won't let you see them, a$$h***!"
When you try to access the system files in a Linux OS which you own, it says, "Ummm...You need Root-Access to view these. Wait, what do you say? You have Root-Access? Well, I don't give a d***. If you want me dead, you'll have to do it my way."

Doing anything to or from Windows OS', Windows says, "Can I help you with this? Perhaps I can bend over a little further."

/me is visualizing the paperclip in Microsoft Office bending over past its elastic limit.
gryffn says: Jan 9, 2010. 7:53 AM
 i got to system 32 with run.exe
raaams says: Oct 30, 2009. 8:48 PM
byyyyyyyyyyyyyyyyyyyyyyyyyyt
puffyfluff (author) in reply to raaamsJan 15, 2009. 9:11 PM
?
Was that meant to be funny? If it was, it's just because I have a very bad sense of humor.
ranumm says: Jul 20, 2008. 8:44 PM
powershell...
puffyfluff (author) in reply to ranummJul 21, 2008. 4:48 PM
What's powershell?
ranumm in reply to puffyfluffJul 22, 2008. 5:14 AM
PowerShell is a new Command shell replacement for Windows. Object driven, and expandable using .NET Quite frankly it rocks. (let the windows bashing begin...)
puffyfluff (author) in reply to ranummJul 25, 2008. 5:10 PM
Wow... I'll have to look in to that...
iRule in reply to puffyfluffDec 20, 2008. 8:21 AM
vb is very good to .. it uses .NET if your using the program thing
puffyfluff (author) in reply to iRuleDec 20, 2008. 9:11 AM
Yeah, I use a lot of VB myself.
iRule in reply to puffyfluffDec 20, 2008. 12:36 PM
cool .. lol its very good.
puffyfluff (author) in reply to iRuleDec 20, 2008. 1:29 PM
Yeah, especially for prank error messages :-)
ranumm in reply to puffyfluffDec 20, 2008. 2:17 PM
VB is ok, but if your serious about .NET, consider C#. Functionally, there is little that C# can do that VB cannot, but...C# is slightly more powerful, and much more consistent. Also, very much in demand right now...
iRule in reply to ranummDec 20, 2008. 2:24 PM
i have the thing with vb, C,C++,dll, and all the others built into that program thing that makes it easier to write em.
puffyfluff (author) in reply to iRuleDec 20, 2008. 3:15 PM
I do everything in C++ now, whether it's console or GUI.
iRule in reply to puffyfluffDec 20, 2008. 3:19 PM
im no good at c++ so i dont try lol
puffyfluff (author) in reply to iRuleDec 20, 2008. 5:10 PM
Lol
iRule in reply to puffyfluffDec 20, 2008. 1:53 PM
while we off subject have you got any ideas for a batch or vbs or vb.net thing .. i ran out of ideas
puffyfluff (author) in reply to iRuleDec 20, 2008. 2:08 PM
I have too, I've made so many.
iRule in reply to puffyfluffDec 20, 2008. 1:48 PM
lol yer .. lol .. gone way off subject
puffyfluff (author) in reply to iRuleDec 20, 2008. 2:08 PM
Who cares.
puffyfluff (author) in reply to puffyfluffDec 20, 2008. 1:30 PM
Followed by shutdowns.
AndyGadget says: Jun 6, 2008. 11:50 AM
My first IBM compatible computer was an XT, with, if I recall correctly, a 4MHz clock speed and 256KB of RAM (that's Kilobyte, not Megabyte). CPUs are now pushing 4GHz - That's a thousand times faster (and much more efficient). I've absorbed new knowledge over the years as each new generation of processors and software came along, and really don't envy anyone trying to get into the technical side of computing from scratch now. There is just SO MUCH to learn - including neat little tricks like this. It may have been the ONLY operating system on the early machines, but DOS still has much to offer. *3 yorkshiremen mode ON* You've got it easy today. When I was a lad we didn't have ones and zeroes. We had to make do with 'I's and 'O's. And even the 'I's were a bit iffy. Kids today . . . don't know they're born. *3 yorkshiremen mode OFF*
AndyGadget in reply to AndyGadgetJun 6, 2008. 12:00 PM
puffyfluff (author) in reply to AndyGadgetJun 8, 2008. 3:50 PM
I guess we do have it easy. Three yorkshiremen, though...
GorillazMiko says: Jun 5, 2008. 7:52 PM
What's a DOS command? Sure, I am stupid for viewing the Instructable and not knowing what it was, that's why I asked.
puffyfluff (author) in reply to GorillazMikoJun 5, 2008. 9:58 PM
A DOS command is something that you type into CMD and hit enter, and it does something. Like, if you open CMD and type "help and then hit enter, it will give you a list of other common DOS commands. They are just like geeky shortcuts to run files.
Brennn10 in reply to puffyfluffJun 7, 2008. 4:10 PM
You can make it be matrix colored like in my instructable!
puffyfluff (author) in reply to Brennn10Jun 8, 2008. 3:37 PM
Yes. You can use "color a" or "color 2" (brighter), and it will change the color.
PKM says: Jun 6, 2008. 8:33 AM
I was all set for this to be more lame script kiddie stuff.. and then it turns out to be something hella useful I didn't know you could do. Shows how much I know :)
puffyfluff (author) in reply to PKMJun 6, 2008. 9:17 AM
Thanks.
Mr. Rig It says: Jun 5, 2008. 1:19 PM
Who the heck is Eric Wilhelm?!?!?!? J/K :-)
puffyfluff (author) in reply to Mr. Rig ItJun 5, 2008. 3:21 PM
The founder and CEO of Instructables.
Mr. Rig It in reply to puffyfluffJun 5, 2008. 11:33 PM
LOL
killerjackalope in reply to puffyfluffJun 5, 2008. 5:48 PM
Rig it was joking, nice one on this, I have dabbled in DOS but could never be bothered with the whole repeating things over an over typing crap out the long way...
puffyfluff (author) in reply to killerjackalopeJun 5, 2008. 10:00 PM
That's what I thought... The same problem happened to me. That's why I decided to find out how to make my own.
1-40 of 42Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!