Help:Using the command line: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Leoetlino (Created page with "Many recent tools are wikipedia:command-line interface (CLI) based because such interfaces are usually more powerful, efficient, easier to use for batch processing, and a...") |
imported>Leoetlino No edit summary |
||
Line 7: | Line 7: | ||
== On Windows == | == On Windows == | ||
If you are on Windows, you have probably never used a command line in your life. Fear not; that using the CLI is hard is a stereotype. It is ''not'' true in particular for BotW-related tools, which are fairly simple to manipulate. | If you are on Windows, you have probably never used a command line in your life. Fear not; that using the CLI is hard is a stereotype. It is ''not'' true in particular for BotW-related tools, which are fairly simple to manipulate. Tools will almost always have documentation that tells you how to use them too. | ||
=== Opening a command line === | === Opening a command line === | ||
Line 33: | Line 33: | ||
'''and press Enter to run the command''' and copy C:/source_file to C:/destination. | '''and press Enter to run the command''' and copy C:/source_file to C:/destination. | ||
==== On options ==== | |||
What about optional parameters? And what if a command takes a large amount of parameters? To avoid requiring the user to memorise the argument order when there are too many, CLI utilities typically use options. | |||
Options are just another way to give parameters. They almost always have the following form: <code>--optionname option_value</code>, can usually be combined and reordered, and are usually optional. | |||
==== On paths ==== | ==== On paths ==== |