Showing posts with label dos. Show all posts
Showing posts with label dos. Show all posts

Thursday, December 16, 2010

Show IPv4 instead of IPv6 on DOS ping command

If you are seeing something like this when doing PING on your DOS command like:


It means that your ping command is showing you the IPv6.
In order to see IPv4 you should use the “-4” parameter.
For example: “ping www.google.com –4”
This is how it looks:

Wednesday, September 15, 2010

Rename all files from one extension to another using DOS command line

I was looking for a fast way of massively renaming files from one extension to another. Apparently, DOS command line was pretty handy solving this issue.

For example, in order to rename all the files with extension “jpg” to “test” on the directory named “C:\My Pics” you should do:

ren "C:\My Pics\*.jpg" *.test

This is how it looks on the DOS command line:

1