Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Glossar ► ««« »»»

What are program arguments, parameters, variables?


Often asked question, what are program arguments, parameters and variables, but the answer is simple and also understandable for lending!



Content / Examples:

1.) ... About program arguments, parameters, variables!
2.) ... Example 1: Simple argument for the MS File explore to open the C:\Windows
3.) ... Example 2: A complex parameter select a file in file explorer!



See also ►►► The Windows Console and Commands + Arguments!
 

1.) About program arguments, parameters, variables!

In the case of programs, arguments, parameters and variables are almost identical, but the term argument usually means the transfer of data to a program and under the parameter usually hides the processing within a program.   

But these are quite variable terms, you can summarize them as command line arguments.

The command-line arguments!

The number of command-line arguments is checked by the program. Because each program works differently and expects different startup parameters. The value returned by the program is 0 (NULL) if the program can not interpret it, so the program terminates with an error or an error message.

The console applications are very well suited to understand this mode of operation:



2.) Example 1: Simple argument for the MS File explore to open the C:\Windows

explorer.exe C:\Windows

in this case is "C:\Windows" the program argument (commando line / parameter, variable, .... :-)

(Image-2) A simple explorer parameter!
A simple explorer parameter!

-
▲ Back to the top ▲




3.) Example 2: A complex parameter select a file in file explorer!


explorer /select, %programfiles%\common files\microsoft shared\ink\shapecollector.exe

(Image-1) simple program arguments example!
simple program arguments example!

-
▲ Back to the top ▲




FAQ 55: Updated on: 8 July 2018 17:03 Windows
Glossar

What is a file extension, file suffix?


The file extension, or file suffix are terms that stand for the end of the file, but this is not the content of the file meant. It refers to the file name,
Glossar

What is a search history?


A legitimate question about the search history, because there are different types and forms of course 1. The different types of search history 2.
Glossar

What is Creators, Redstone, Threshold?


Many questions as to whats up with the new Windows terms like Creators, Redstone, Threshold heres the answer The English word Creators stands for:
Glossar

What is Drop and Drag?


Many ask themselves what drag and drop is, but its also understandable, you first think of sweets, or the like Put simply, it is drag and drop. The term
Glossar

What is native resolution?


Native resolution refers to the maximum number of pixels that your monitor can display In fact, all LCDs have a fixed number of pixels ►  native resolution
Glossar

What is / are printer interfaces?


There are several ways that a printer can connect to and communicate with a computer, iPad, smartphone  A printer interface is the connection via which
Glossar

What is a PS2 printer port?


The PS2 printer port is an almost extinct connection that lacks many computers and notebooks for cost reasons With desktop computers and without PS2 you

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: glossar, what, program, arguments, parameters, variables, asked, question, answer, simple, understandable, lending, case, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + MatriX.CoronaKO
  + Find.Same.Images.OK
  + 3D.Benchmark.OK
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + DontSleep
  + ExperienceIndexOK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.062


► KeepMouseSpeedOK to keep the Mouse Speed on all Windows (11, 10, ...)! ◄

► How do I protect Word documents with a password? ◄

► How can I install Java Script in Windows 10? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....