Notepad coding!
Notepad coding!
kon tiki told me how to make a virus in notepad. you type in this code then save it as a .bat file. can you save any thing you write in notepad as ANY type of file? so i could save coding i write in notepad as a .exe file? but there has to be a language or something for .exe files. im confused here. if i made programs in notepad and wanted to save them as a .bat file, there is a language for .bat right? i dont get it. im just confused. can someone explain how i would know what code i would need to type for a .exe file or something like that. i typed in the following for a .bat file in notepad, and it worked:
echo off
@del c:\test
echo your a dumb @$$
echo on
now if i saved it as a .exe file, would it do the same as the .bat file? this is kinda what im confused about.
echo off
@del c:\test
echo your a dumb @$$
echo on
now if i saved it as a .exe file, would it do the same as the .bat file? this is kinda what im confused about.
Re:Notepad coding!
I say:
[glow=red,2,300]Get out of Virus Programming NOW![/glow]
You want to be a game programmer right? What if people think you make games that include hidden stuff...[move]Like a VIRUS![/move]
And, That's not a virus code if you read what in prints!
Also, it needs to be only .BAT, because it's a MS-DOS Bachfile.
.EXE files are different...they are formmated binary.
[glow=red,2,300]Get out of Virus Programming NOW![/glow]
You want to be a game programmer right? What if people think you make games that include hidden stuff...[move]Like a VIRUS![/move]
And, That's not a virus code if you read what in prints!
Also, it needs to be only .BAT, because it's a MS-DOS Bachfile.
.EXE files are different...they are formmated binary.
Re:Notepad coding!
If you make sure that the simple text or notepad you're using isn't formatted (what I like to call vanilla-text), then you can save it as multiple different file-types. To turn a notepad file into an .exe you would use a compiler (EX: save it as name.c, compile). Many people do this, anyway, like using command-line interface (CLI) in *nix. You would use pico, vi, or emacs to generate a text file saved as either a .sh (shell script, similar to a batch file) or .c (gcc compilable), etc.
Re:Notepad coding!
im not getting into virus programming. it was just one little app.
so i still dont get .bat. is that a language of its own? how can i learn all the commands for it?
so i still dont get .bat. is that a language of its own? how can i learn all the commands for it?
Re:Notepad coding!
(but only if you are running WinME or Win98 and you Have to do this before help:
cd \
cd \
Re:Notepad coding!
cd \ ??
I checked something, on my PC with winNT, I just have to type "help", on my PC with win98, I can't call the help?? Even if I type cd\ first (so that I'm in the c:\ dir)
I checked something, on my PC with winNT, I just have to type "help", on my PC with win98, I can't call the help?? Even if I type cd\ first (so that I'm in the c:\ dir)
Re:Notepad coding!
Oh...forgot about that...nevermind..i'm use to WinME, not .NET ( what I have, it's a 3663 build of NT ).
Re:Notepad coding!
Hey joey, if you need some help with dos, dos commands or dos batch programming, just ask. I will be glad to help you.
Depending on what version of windows you have, help may or maynot be included. Most of the time, if you want dos help, you either have to actually download the help program or search the internet for help.
There are some really good dos sites out there. You just have to do a little searching.
Depending on what version of windows you have, help may or maynot be included. Most of the time, if you want dos help, you either have to actually download the help program or search the internet for help.
There are some really good dos sites out there. You just have to do a little searching.
Re:Notepad coding!
DOS .bat codes(actually commands):
echo - print what ever you want. Example:
echo hello
del - delete the file you want
move - you get it don't you?
copy - it sounds like it is
cd - change directory Example: cd C:\, and cd C:\WINDOWS
dir - lists what's in the current directory Example:
dir
dir /w - lists what's in the current dir and puts ['s and ]'s around other dirs, and puts no ['s or ]'s around files.
xcopy - copy a file to a place...then delete the old file.
help - get help
That's just a simple command line thing...I don't know much DOS...
echo - print what ever you want. Example:
echo hello
del - delete the file you want
move - you get it don't you?
copy - it sounds like it is
cd - change directory Example: cd C:\, and cd C:\WINDOWS
dir - lists what's in the current directory Example:
dir
dir /w - lists what's in the current dir and puts ['s and ]'s around other dirs, and puts no ['s or ]'s around files.
xcopy - copy a file to a place...then delete the old file.
help - get help
That's just a simple command line thing...I don't know much DOS...
Re:Notepad coding!
Theres no "move" command in dos. Just thought I let you know that Tom.
Re:Notepad coding!
Opps my bad!. I've never used that command, so I thought it didnt exist. Boy was I wrong.
Re:Notepad coding!
oh so you just use dos commands for it! ok. and dos is like its language? cool.
im not going to program viruses. that is kinda dumb. i make little things that make you mad, like something that when you open it, all you icons fall to the bottom of the screen or something. i make things to make people happy and have fun, and for the joy of programming. thats why i make games. theres probably other reasons too.
im not going to program viruses. that is kinda dumb. i make little things that make you mad, like something that when you open it, all you icons fall to the bottom of the screen or something. i make things to make people happy and have fun, and for the joy of programming. thats why i make games. theres probably other reasons too.
Re:Notepad coding!
DOS is the basic operating system that is behind the scenes on Windows (until recently ). A batch file is a bunch of DOS commands linked together as one file, so they are executed in sequence. The same is true of Unix shell scripts (Only utilizing Unix commands). It is not a separate language.