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.
38
questions with no upvoted or accepted answers
3
votes
1
answer
2k
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 ...
3
votes
0
answers
1k
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 "...
2
votes
0
answers
226
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?
2
votes
1
answer
5k
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
vote
0
answers
292
views
How to properly escape in windows command shell - even the asterisk?
By following good (though sometimes conflicting) advice such as
Quotes, Escape Characters, Delimiters - Windows CMD - SS64.com or
Escape character – Wikipedia, section 2.6 Windows_Command_Prompt or ...
1
vote
0
answers
11
views
Run one of two scripts based on the outcome of a check?
I have two GPO scripts that, in a nutshell:
Close any existing instances of Chrome.
Open a new instance of Chrome.
Navigate to a webpage.
The only thing is that one script checks the location of ...
1
vote
0
answers
689
views
How should I adjust my monitor display timing parameters to achieve a horizontal offset?
I have a 2560x1440 31.5" monitor that recently stopped displaying in the rightmost 4" of the display. This corresponds to ~320 pixels of dead space, so I am trying to create a custom ...
1
vote
0
answers
1k
views
How to add .exe switches/parameters in Linux?
In windows, it's simple
"c:\path\to\exe\program.exe" -option1 -option2
I'm installing and running games through Lutris to make using WINE for gaming easier. I'm trying to play SWAT 3. ...
1
vote
0
answers
828
views
How to create a Windows shortcut that passes the current folder as a parameter
In Windows 7-10, how can you create a shortcut that uses the current folder (directory) as a parameter?
For example:
Target: example.exe "%CD%"
(where %CD% gets automatically replaced by the ...
1
vote
2
answers
2k
views
How to Create a Configuration Batch file for VNC Server?
I made a batch file for VNC Server to make Windows 10 x64 automatically (Unattended). The software is properly implemented and installed silently, but unfortunately the configuration parameters of the ...
1
vote
0
answers
1k
views
How to improve postgresql query execution time
Problem Statement:
we have a Enterprise product with Postgresql db as a backend. one of the tables has 5 columns and respective data type is (bigint time , bigint store_time , varchar category, ...
1
vote
0
answers
598
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 * ...
0
votes
0
answers
4
views
FFMPEG mp4 command not working
I’ve tried to get a command to work based on this YouTube upload settings but can’t make it to work. Does anyone know the exact encoding ffmpeg command based on YouTube uploads link below? https://...
0
votes
0
answers
66
views
using scp or echo in zsh with alias parameter print 'No such file or directory'
here zsh on MacOSX.
I would like to point out that I have tried several ways, with and without quoting, single or double quoting, with and without brackets, with/out $variables. But I receive ever ...
0
votes
0
answers
83
views
Power Query SQL bring in cell contents for the where statement
I am trying to build a flexible sql where statement so that my power query can pull the exact data the user specifies. I have an excel worksheet with about 18 cells that the user populates. I use ...
0
votes
1
answer
1k
views
Booting from a persistent live usb on MX linux and enabling systemd?
I have created a Live USB with persistent storage using MX Linux since they offer a few tools which makes it easier.
After booting and installing a bunch of applications I was not able to enable the ...
0
votes
1
answer
173
views
how to handle complex bash parameters?
How can I consume parameters as complex as the "Terminology example" from the bash-hackers wiki, which doesn't cover it after presenting.
mybackup -x -f /etc/mybackup.conf -r ./foo.txt ./bar....
0
votes
1
answer
1k
views
SSH - quoting error when composing command line with ProxyCommand (bash)
I would like to use the ssh command in a bash script running on srcHost to remotely execute a command on a range of hosts (targetHostX). Some of those remote hosts are only reachable via a jump host (...
0
votes
1
answer
202
views
Pass git stuck options with quotes as-is to a script
I'm trying to write a script that will be called as a git alias.
The script is a wrapper around git merge, so I want to pass all it's parameters to git merge as-is when I call it in the script.
The ...
0
votes
0
answers
743
views
Call Batch Script With Parameters, Run It In Target Environment
I need to copy some files locally, on a remote server (Let's say it's in New York). That is to say, the files are already on the server, and I need to make a copy in the same frolder on that server. ...
0
votes
1
answer
2k
views
Windows 10, stop a service, but don't restart until reboot
I'm familiar with Windows 10's services.msc. I can click the stop button, and I can click the start button, but I want to divide and conquer to figure out which service is causing trouble and locking ...
0
votes
2
answers
3k
views
How to run scheduled task for the batch with 2 parameters?
I have a batch file which I need to run every 15 min.
When I click twice on the batch I:
Need to enter the name of test to run and It is always Scripttest.jmx, like this:
Need to enter y in this SS:
...
0
votes
0
answers
297
views
Cannot use Google Search Tools from one account in Chrome
I'm using 3 accounts in Chrome*, everything works fine for 2 of them. For the 3rd (default) one, the Google Search Tools components are not clickable. For instance, hovering the cursor over "Any time" ...
0
votes
1
answer
272
views
Universal Command-Line Tool Wrapper
I have a program that calls GhostScript in the background by issuing a shell command with hardcoded(!) parameters. Unfortunately it is impossible to change that in a defined matter and the used ...
0
votes
1
answer
3k
views
How to run CURL POST commands setting parameters dynamically from file in parallel OS independent?
I want to submit some hundred HTTP requests using CURL, preferrably in parallel.
This request simply shall submit a value to a server.
How can I do this OS independent?
I started writing a .txt file ...
0
votes
0
answers
35
views
Bash puzzle of the week
We're having a very strange puzzle related to character encodings and bash replacement, where we are passing a bash variable into a rake script that gets piped into a different bash variable, and I'm ...
0
votes
0
answers
119
views
Reverse Proxy Public Private Url with Parameter
I am trying to setup a reverse proxy with redhat machines running Apache 2.2.15, where the public and private URL contains parameters (static, same for all requests coming through the public url), so ...
0
votes
1
answer
1k
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-...
0
votes
1
answer
73
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
1
answer
1k
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 ...