windows-command-line

This is a place for you to make How-To requests. Just post what you need a how-to for and when someone creats a how-to for you thay will post to your thread.

windows-command-line

Postby jalu » Sun Aug 02, 2009 8:06 am

as im trying to get used to windows im looking for a how-to or tutorial about the commands in the windows-cli.
typing help doesnt give me enough of the help i would need and there doesnt seem to be no man-pages :D
greetings
User avatar
jalu
 
Posts: 73
Joined: Tue May 19, 2009 6:03 am

Re: windows-command-line

Postby Michael Compton » Mon Aug 03, 2009 1:37 pm

Is there a specific item that you need help with currently?
Image
User avatar
Michael Compton
 
Posts: 92
Joined: Mon May 18, 2009 10:10 am
Location: Lewis County Washington

Re: windows-command-line

Postby jalu » Tue Aug 04, 2009 3:43 pm

Michael Compton wrote:Is there a specific item that you need help with currently?

yes: the very first problem is that i type
help
and cant pipe it to a pager (like less or more)
cd and pwd seem to exist too, so i may move around the filesystem a bit.

Second: is there something like a build in editor (like vi or nano)?

as you see: i like starting of with an easy level. Its just about getting used to it, not a real issue. :D
greetings
User avatar
jalu
 
Posts: 73
Joined: Tue May 19, 2009 6:03 am

Re: windows-command-line

Postby Michael Compton » Tue Aug 04, 2009 7:58 pm

I don't know of any cli editors for windows. I will check on some of the other stuff and get back to you.

Edit: I am not sure why you were having trouble piping the help command out to the more program as it seems to work fine for me under windows 2000/XP

Code: Select all
help |more


if you want help on a specific command you can use :

Code: Select all
help command |more
Image
User avatar
Michael Compton
 
Posts: 92
Joined: Mon May 18, 2009 10:10 am
Location: Lewis County Washington

Re: windows-command-line

Postby jalu » Tue Aug 04, 2009 11:03 pm

good, thanks a lot.
that way i will be able to learn some commands ( i hope).
( btw: i dont think i tried more, as im used to use less)
greetings
User avatar
jalu
 
Posts: 73
Joined: Tue May 19, 2009 6:03 am

Re: windows-command-line

Postby drokmed » Wed Aug 12, 2009 8:16 am

jalu wrote:Second: is there something like a build in editor (like vi or nano)?


edit

There's not a whole lot you can do in windows cli. It's not like linux, where all config files are text mode. Most windows configuration info is stored in the registry, or in binary files. XP doesn't even use a config.sys or autoexec.bat anymore.

I use the command line mainly to verify internet connectivity (somebody can't get on the Internet). Some commands:

netstat -nr (same as 'route print')
edit
cd "wierd dir name"
sol :)
User avatar
drokmed
 
Posts: 11
Joined: Fri May 22, 2009 3:20 pm

Re: windows-command-line

Postby jalu » Fri Aug 21, 2009 6:26 am

upps. I haven`t been here for some days and therefor missed your post. Thanks. (To be honest: i gave up on the cli in Windows. My first thought was: I`m able to move around in linux-cli, windows should now go nice and easy. But it would be lots of work, and i got enough to learn in linux.).

Now that you speak of it: What exactly is the "registry" ? (Or merely: Where is it?)
thanks again
User avatar
jalu
 
Posts: 73
Joined: Tue May 19, 2009 6:03 am

Re: windows-command-line

Postby Michael Compton » Fri Aug 21, 2009 11:58 pm

You can use the edit command to run the MS DOS Edit program to alter regular text files. Note: this wont work to alter program files as it is not done like Linux editors.

The windows registry is a set of files that hold the configurations to most all programs in windows. Many values are done in hex and are not human readable. About the only way to read and edit the windows registry is to use one of the versions of Regedit.
Image
User avatar
Michael Compton
 
Posts: 92
Joined: Mon May 18, 2009 10:10 am
Location: Lewis County Washington


Return to How-to Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron