WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Forum

  Reply to this topicStart new topicStart Poll

What is Command Line?

Lachdahnan
Posted: Jan 18 2008, 02:25 PM
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 5739
Joined: 13-January 08


"The GetCommandLine call is unnecessary if your program doesn't process a command line. In this example, I show you how to call it in case you need it in your program. "

I looked through to see if it was mentioned in the Iczelion tutorial about what the/a command line is. But I havent seen a direct explanation or I missed it. So I was just wondering, what is it? :P

PMEmail Poster
Top
SeaFarer
Posted: Jan 18 2008, 06:00 PM
Quote Post


GO NAVY!
******

Group: Admins
Posts: 855
Member No.: 1464
Joined: 2-September 05


Hello Lachdahnan,

Welcome to the forums!

A commandline is the name of a command file and any parameters/arguments that are placed after it.

For example...

IEXPLORE -new

This will open a new instance of Internet explorer when typed into the console. The -new is considered a commandline argument/parameter.

Another example...

c:\program files\Internet Explorer\iexplore.exe -new

You could use the above when creating a new shortcut. Commandlines don't always need arguments after them. Programs/Command files, that use arguments, generally activate or disable a feature at runtime.

In the days of DOS...

DIR /P

Would display a directory of files in the current directory, one page at a time.

The MASM32 library has some functions for dealing with commandline arguments.
PMUsers Website
Top
Lachdahnan
Posted: Jan 18 2008, 06:58 PM
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 5739
Joined: 13-January 08


OHHHHHHH Ok I got it now. Thanks ! hehe I was quite confused there :P
PMEmail Poster
Top
majkinetor
Posted: Jan 19 2008, 03:49 AM
Quote Post


Member
**

Group: Members
Posts: 29
Member No.: 4997
Joined: 11-May 07


:huh:
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
HiEditor

General Discussions
Suggestions/Bug Reports
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Computer Science

Internet
C/C++