Posts Tagged ‘Windows’

Windows .bat file to recursively list all files of type *.mp3 – Stack Overflow

How about the command DIR…

dir /s/b *.mp3

… the above command will search the current path and all of this children. To get more information on how to use this command open a command window and type DIR /?

You can add the results to a file with ‘> [filename]


I have no idea how good this reference is but here is a DOS tutorial. It looks pretty detailed (then again I have been using DOS for a LONG time.)

DOS Tutorial

Here is a link to my site where I have a pretty complex batch file. It may give you a few ideas.

Batch Files

via directory – windows .bat file how to recursively list all files of type *.mp3 – Stack Overflow.


How to make the OS auto map a domain name to an IP?

Open the file host (without extension) located at C:\Windows\System32\drivers\etc.
<> <the IP>



Where is the location of downloaded "Windows Update" files?

Source: Where Do Windows Update Files Get Stored – TechSpot OpenBoards

It’s in here: C:\Windows\SoftwareDistribution\Download.


How to change default desktop folder location on Windows 7

See it here How to change default desktop folder location on Windows Vista – Super User

In brief steps:

  1. Open user folder (C:\Users\<user name>).
  2. Open Properties page for ‘Desktop’ folder.
  3. Choose tab Location.
  4. Enter the new location for your Desktop, called NewLocaiton.
    (your Desktop folder now no longer resides inside the user folder, it lies in the path NewLocaiton you’ve entered)
  5. Done.

Hope that helps!

How to change username which also changes the user data folder in Windows 7 ?

See it here How to rename or move a User Profile folder?

[WARNING: Changing the Windows user’s folder may stop your current application from working properly!!!]


  1. Log in as another administrator user other than the one need to rename.
  2. Go to C:\Users\<Your current user name>, rename it to the new name.
  3. Start – Right click “My Computer” – Manage – User and Group.
  4. Select you username and change it to the new name.
  5. Open registry (Start – Run – regedit)
  6. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  7. Go to the SID which has the “ProfileImagePath” value as your current user name.
  8. Change it to the new name.
  9. Done

(Be sure to back up your registry first)

How to open command-line from current folder in Explorer?

Holding Shift and right click, then choose “Open command windows here”. Enjoy ^_^!

How to copy full-path of a file in Windows OS?

Holding Shift and press right click, then click “Copy as path”. Enjoy ^_^