Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [parameters]

In computer programming, a parameter is a type of variable that refers to a piece of data used as input in a query to a database or other data-storage table.

1
vote
3answers
41 views

What's a correct way for a batch file to run itself with params?

I have a batch file. In which, I need to start another copy of itself in a new window with a parameter. I tried the command start "" "%~0" "Param" but it said '"Param"' is not recognized as an ...
0
votes
0answers
25 views

Implementing Twitter Search in powerbi Report

I want to implement real time twitter search and analytics in my Report, but I am stuck. How can I enter any keyword (there must be some visual to enter data) and then passing this text to any ...
-1
votes
2answers
67 views

Can I upgrade my computer's RAM?

My computer bought in 2013 and 4Gb memory, now I want to upgrade RAM for my computer to use smoother, My Computer is asus k56CM core i5 laptop. I want to use it more smoothly, and I use downloadram....
1
vote
0answers
53 views

How to get the list of the kernel parameters which are supported by the actual kernel?

How can I get the list of all the possible kernel parameters which are supported by the actual kernel?
0
votes
1answer
252 views

libx265 & ffmpeg: the better compression, the larger files?

Trying to squeeze the last bit, I made the finding, that my files get larger then smaller. Unfortunately I must have misinterpreted some parameters. Maybe you can help me. The reference is -preset ...
0
votes
0answers
52 views

How to prevent GIT Diff to compare similar lines distinct only by \r\n?

I would use GIT DIFF to compare change between 2 files. To do that, I use following command git.exe diff --ignore-all-space --ignore-blank-lines --diff-algorithm=minimal --no-index ./...
1
vote
1answer
278 views

Invoke/execute command with an unknown number of parameters, in PowerShell

Want to execute Invoke-Expression with parameters which can vary depending on the input Having a problem with $MyArgs logic. It should contain only entered parameters Input (example): ./foo.ps1 -...
1
vote
2answers
2k views

Change Directory in Windows Batch Script

Based on some other answers I found, I can loop through available drive labels. However, I can't seem to change to that drive: for /f "skip=1 delims=" %%x in ('wmic logicaldisk get caption') do ( %%x ...
0
votes
2answers
1k views

Use a Cell Value for a Paramater Value using in Power Query

I am using a query like below in power query Excel 2016: let Source = Odbc.Query("dsn=AS400", "select * from libm61.emleqpm1 where STN1 = '03' ") in Source I want to replace '03' with a ...
1
vote
1answer
126 views

Run program automatically as a specific user

So I know, that I could just create a shortcut with RunAs but I was wondering, whether it would be possible to pass the password already as a parameter to the script, so I do not have to type it in ...
0
votes
1answer
79 views

How can I use “getopts” without a parameter? (here for “-v”)

How can I use the getopts without a parameter? while getopts ":a:f:l:r:h:v:" arg; do printf $arg case $arg in a) add_param=${OPTARG} ;; f) file_param=${OPTARG} ...
0
votes
1answer
311 views

Is it possible to create a parameterized shape in Visio

I am working on a harness layout diagram in Visio Pro 2016 and see that there are multiple shapes for various number of line busses eg. 2-line, 3-line, 4-line, and 8-line bus, and a corresponding N-...
1
vote
0answers
371 views

How can I use the value of an Excel cell in an Office Data Connection SQL query with an IN operator?

I've got an Office Data Connection running a SQL query against an external data source and using some dynamic parameters provided in cell in a worksheet. As long as I'm doing something like SELECT * ...
-1
votes
2answers
2k views

What are the start shutdown.exe parameters?

I have created shortcuts that shut down my PC based on online tutorials. They always explain the how but not the why of the parameters included (e.g. This tutorial). I wish to create a batch program (...
0
votes
1answer
57 views

directory name and cd of all subdirectories in directory using shell

Purpose For each subdirectory in directory that contains a setup.py, run pip uninstall -y <directory name> and pip install . Windows solution > for /D %f in (.\*) do (cd "%cd%\%f" &&...
0
votes
1answer
421 views

Section suppression formulas for multi-select parameters in Crystal Reports 11.5

I'm trying to figure out how to create a section suppression formula that evaluates all the selections in a multi-select parameter. For instance, if the parameter is "Program" and you can select from ...
0
votes
1answer
47 views

Program arguments (parameters) [closed]

I noticed that some programs can have parameters to run them specific way. I'm wondering how they work and where can I find documentation for them. For example the Atom editor runs from Update.exe ...
0
votes
1answer
70 views

How to view options tkernel module was loaded with?

How could one view options/parameters that were passed to kernel when loading it? modinfo -p <modulename> doesn't fit for this problem as it displays it seems all available parameters. Linux ...
0
votes
1answer
360 views

exclude socket files during diff -r

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore all socket files and only socket files? I am using diff --...
5
votes
1answer
2k views

How to open the SnippingTool (Win Tool) passing a parameter to start automatically?

I'm trying to open the Windows tool called SnippingTool and look for an option to start a new snip automatically. Something like this: cmd c:\Windows\System32\SnippingTool.exe /new Some ideas?
0
votes
1answer
238 views

Win7-64 powercfg –lastwake invalid parameter

The command "powercfg –lastwake" gives invalid parameter error, however powercfg /lastwake works. What gives?
0
votes
1answer
134 views

EXCEL VBA get source folder to Const

i have a code "copyMultFiles" Move many value in many file to single file My Problem is cannot use parameter in "Const" Error this Line " Const csMyPath As String = vaFiles1 " vaFiles1 is get source ...
2
votes
1answer
75 views

How, exactly, is ! meant to be used with 7-zip CLI parameters?

The -i and -x parameters of the 7-zip CLI interpet ! in a special way. Or at least it looks that way from their documentation. That documentation includes the following: Syntax -i[<...
6
votes
1answer
5k views

How do I add command line arguments (parameters) for pinned applications on Windows 10?

On Windows 10 I'd like to add command line arguments (parameters) for "pinned" applications in my "Start" area. But when I right click a pinned app, I don't see something like "Preferences". Is ...
0
votes
1answer
61 views

how to pass path 'cd' portions to a shell function?

I'm trying something like this: function projects(){ cd; cd Documents/projects/$1; } but it doesn't work. What I'd like is to pass the name of the folder to add to the base path (so resulting in,...
1
vote
2answers
1k views

How do I extract a parameter within a URL in Excel?

I have the following URL in my Excel sheet rows: www.test.com/folder1/?tagid=1234567 How do I extract the tagid value into a separate column so I simply have "1234567". Thanks!
1
vote
2answers
94 views

Minecraft RAM allocation

When I try to allocate more RAM to Minecraft the arguments are: -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M I don't know what this means, why isn't it ...
7
votes
3answers
7k views

How to convert HTML into endless one-page PDF via wkhtmltopdf?

Currently when converting the PDF from given URL, like: wkhtmltopdf http://superuser.com/ superuser.pdf where it consist multiple A4 pages (so sometimes images are cut in the middle of the page). ...
1
vote
1answer
2k views

“Parameter Format Not Correct” when typing file paths

I've been trying to use the command prompt in Windows 7 to delete a stubborn folder (_MEI50722) from my temp folder. It's a highly-suspect folder in my hunt for some malware I'm thinking is hijacking ...
1
vote
0answers
19 views

ethernet nic card issue “wrong parameters” windows 7 [closed]

I have an HP pavilion that came with windows 8. I got windows 7, was working fine then on board Ethernet card crapped out. I installed another nic card, but can't install drivers , says incorrect ...
0
votes
3answers
2k views

How to receive a parameter in a batch file

I have asked a question, Use an environment variable to point to an "Open With" program, which received a fantastic answer. To add myapp.exe, residing in %MYAPPSDIR%, to the Open With ...
0
votes
2answers
873 views

Passing variables with space to the command line as admin

strong textscript.bat placed on the sendTo folder(file setted running as admin from properties -> advanced -> run as admin) @echo off cd %~dp1 echo %~dp1 echo "%~1" pause if i pass a parameters ...
0
votes
1answer
3k views

Executing SQL Stored Procedure through Excel (VBA) with multiple parameters

Thanks for your help, @FreeMan. However, I am still lost with this. Let me just start from scratch. This is my query in summary ( I hope it is clear) SELECT DISTINCT Q1,Q2,Q3 from(SELECT A,B,C) ...
-1
votes
1answer
169 views

How to handle the arguments flags for an .exe file? [closed]

Suppose that I'm using a program with a login page. And lets call it a.exe. Whenever I execute a.exe I face a login page with empty fields such as Username, Password, Application Server, Database ...
1
vote
2answers
1k views

Adding Parameters to start an application in osx

Im trying to start my VLC-player on OSX with the following parameters: /Applications/VLC.app/Contents/MacOS/VLC --rtsp-timeout=99999 --sout-ffmpeg-strict=-2 ---extraintf http --http-port=8081 where ...
4
votes
1answer
2k views

How to remove .bat extension from file name in a parameter?

I made a bat file and during execution, it displays a title in the command window. The title includes the bat filename, and it is displayed in full, including the .bat extension. The code I'm ...
0
votes
2answers
539 views

How to start SpiderOak from a command line in a headless mode and then close cmd?

I'm trying to start SpiderOak in a headless mode from a command line on Windows 7. After the application starts I would like to be able to close the command line without interrupting the process. ...
1
vote
1answer
182 views

SHIFT command does not work on %*

When using the SHIFT command to shift the script parameters one position down, I can see the values shift by echo-ing the %1 parameter: :: scr1.bat echo %* echo %1 shift echo %1 Then: > scr1.bat ...
3
votes
1answer
1k views

how to shift all parameters in a batch

The well-know shift command can be used to shift positional parameters in batch file, BUT it does not affect the special variable %*. The shift command has no effect on the %* batch parameter. Is ...
0
votes
1answer
106 views

Commandline arguments in Mac OSX

In linux I can do something like this: rm test.txt -f On Mac however, I get the following error: rm test -f rm: -f: No such file or directory Is there a way to fix this?
1
vote
1answer
1k views

Command Line Parameters in Powershell

I am using a program called sonar-runner that you execute from the commandline, and you can pass optional parameters. For example in the normal windows commandline tool a call may look something like: ...
0
votes
2answers
538 views

Remote Desktop with custom parameter

is there any way way to open the mstsc (remote desktop connection) with a custom parameter I initialized and then read it on the remote computer via command prompt? I need to create batch file that ...
0
votes
1answer
419 views

In Ubuntu Linux: Pass the clipboard content as parameter to some application

Is there a tool which can pass the content of the clipboard as parameter to some application? For example I would use it like this: (1) In a text editor or whatever, for example I could highlight ...
6
votes
1answer
35k views

Query parameters in an external connection to sql server

I want to do exactly this: http://dailydoseofexcel.com/archives/2004/12/13/parameters-in-excel-external-data-queries/ but I want to do it in Excel 2010 and also I am querying SQL Server instead of MS ...
1
vote
2answers
396 views

pass previous command's arguments to current command [duplicate]

There are times when I want to take the previous command's parameters and apply them to the current command. Here is an example $ cat foo.txt $ vim foo.txt I'd like to find a shortcut to not have ...
0
votes
0answers
65 views

Is it possible to hide chrome's statusbar? [duplicate]

I'm developing a web application for my company. I plan to use a chrome application shortcut so it looks less like a website and more like an application. But even in an application shortcut, there ...
1
vote
1answer
2k views

Passing option params to context menu commands in Windows Registry Editor

How can we pass options to programs being called through edits to the windows registry using regedit.exe? This is a syntax question as far as I can tell. For example... I have recently added a new ...
-1
votes
1answer
1k views

VMC parameter file (XML) path

I'm trying to find the VMC XML parameter file. Does anyone know where it is located? Or name of the parameter file (.xml) ? For example: c:\user\***\windows\virtualpc\parameter.xml Virtual PC ...
0
votes
2answers
2k views

Is it possible to put a wildcard search into a parameter query in LibreOffice Base?

I am using Base in LibreOffice 4.0 (still using the HSQL that comes with Base but looking at moving to HSQL 2.2.8) and I would like to do a query that asks for parameter input like: SELECT * FROM "...
3
votes
0answers
782 views

How to represent m:n relationships in a form in Libre Office base?

I have an embedded database in Libre Office. I am building a form in it, and got into a problem. I have a table called "Author" and another table called "Publication", connected by a third table "...