How to copy all file names in a directory to a text file in Windows

Step 01:
Open up your command prompt by typing cmd in the run dialog box and hitting Enter.

Step 02:
Navigate to the directory which has the files and type the following command –

DIR /B /O:N > filename.txt

This will save all the filenames in the current directory to a text file. The text file will be saved in the same directory.

Step 03:
To save file names from any sub-directories in the current folder, just add /S like –

DIR /B /O:N /S > filename.txt

That’s all!

How to connect to more than one IRC server with mIRC

There are a couple different ways you can connect to more than one IRC server. It all depends on if you want to always reconnect to the initial server or if you’re only connecting once.

Method 1: If you want to connect to another server on the fly, meaning once you close mIRC it will not reconnect to this server.

/server -m

Method 2: Using the Remote feature in mIRC will allow you to reconnect to more than one server every time you open mIRC and the process is automatic, unlike the above.

Click Tools -> Scripts Editor… Now under the Remote tab add the following in the box:

on *:start: {
  server -m

Repeat the server -m line to add more servers.

How to combine text files into one with single file with Windows command

Here is the simplest way you can combine multiple text files into one single file.

  1. Move all the text files you want to be merged into one folder.
  2. Move that folder to C:\ and name it “temp”.
  3. Rename all the text files in order such as text1.txt, text2.txt text3.txt etc.
  4. Open command prompt by clicking start and typing “cmd”.
  5. Once the black box pops up type the following “cd..” and click enter. Type “cd..” once more and click enter.
  6. Now type “cd temp” and click enter.
  7. Now that we are in the correct folder to type the command to combine all the text files into one.
  8. Type the following “copy *.txt target.txt” – you can replace “target.txt” with whatever you want the new combined file to be named.

Once completed you will now have everything in one single .txt file.

How to disable automatic restart on Blue Screen of Death in Windows 7

If you are getting the Blue Screen of Death in your Windows 7 IOS and want to disable that so you can find the cause of it, follow these simple little steps.

  1. Right-click on Computer, select Properties.
  2. Click Advanced System Settings.
  3. On the Advanced tab, under “Startup and Recovery”, click “settings”.
  4. Under “System Failure”, uncheck the box next to “automatic restart”.