« Return to Thread: Cool Windows commandline stuff

Cool Windows commandline stuff

by Tomás Ó hÉilidhe-2 :: Rate this Message:

Reply to Author | View in Thread


I initially took a liking to Linux because you can do *everything* at
the commandline... but recently I've discovered a few cool things you
can do with Windows at the commandline.

For instance, let's say your pissed off with having to navigate to
"C:\Documents and Settings\My Name\My Documents", well just go to the
commandline and type:

    subst x: "C:\Documents and Settings\Whoever\My Documents"

Now x: is a drive that points to the aforementioned directory.

One thing I really like about Linux is the "ifconfig" command. For
instance here's how you'd set your IP address:

    ipconfig eth0 192.168.1.87 netmask 255.255.255.0

Well, under Windows, you can set your IP address and default gateway in
one foul swoop with:

    netsh interface ip set address "eth0" static 192.168.1.87
255.255.255.0 192.168.1.1 1

Does anyone else have some cool Windows commandline stuff to share?

--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

 « Return to Thread: Cool Windows commandline stuff

LightInTheBox - Buy quality products at wholesale price!