People who code: we want your input. Take the Survey

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Intel optane storage and memory manage and Nvida Control panel app

I am having issues with those two apps that each time I run start with "The parameter is incorrect" I tried to add manually the parameter but did not work either. uninstalled and reinstalled ...
0
votes
0answers
18 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
1answer
39 views

Is it possible to get history of my computer details like RAM?

I gave my PC to an agency which repairs computers. I remember that my computer had 8GB of RAM and when get back my computer has 4GB of RAM Is it possible to retrieve a history on the size of the RAM ...
0
votes
1answer
57 views

non-interactive ssh-keygen in Windows PowerShell: create a key pair and avoid pressing enter for location and empty passphrase

In Windows PowerShell, with ssh-keygen, how to create an SSH key pair with a private key that has no passphrase (password), without having to confirm twice the empty passphrase, and without having to ...
0
votes
0answers
67 views

In terraform, how to pass variable to custom data script in Azure?

I am planning to build my infra using Terraform and Azure. I need to call script (custom data) to run few task at provisioning time to make server ready to use. How will I be able to send parameter to ...
0
votes
1answer
66 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 ...
1
vote
0answers
22 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. ...
0
votes
2answers
658 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: ...
1
vote
1answer
487 views

pass parameters to batch file via File URI in Windows

Using Windows 10 here. Code in open_video.bat "%USERPROFILE%\Desktop\VLCPortable media player\VLCPortable.exe" --start-time=54 --stop-time=89 "%USERPROFILE%\Downloads\some_video.mkv&...
0
votes
0answers
19 views

Win10 Start Menu: Two icons icons with same Target path .exe, but different “Start-in” folders

Windows 10 appears cleverly to remove what it thinks are duplicate icons, e.g. separate icons which have identical Target paths. The issue I have is that for this particular application we have ...
0
votes
1answer
58 views

How to use multiple optional parameters in VBA

I am trying to do a simple UDF in VBA: I want to get the quarter of a date. I can do a basic version easily that works (I am French, so quarters are noted as trimestres and abbreviated by a T) : ...
0
votes
1answer
188 views

Is /min a valid switch for cmd.exe in Windows?

I'm looking at a few batch files (.bat), and they use use /min as a switch for cmd.exe. Looking at several references, I don't see /min as a parameter for cmd.exe. Is /min a valid switch for cmd.exe ...
0
votes
1answer
156 views

Powershell Parameters: How to read order of user input

I am trying to determine the order in which the user enters parameters. So, using the following example: function RepeatParamOrder { [CmdletBinding()] param ( [bool]$param1=$false,...
0
votes
0answers
194 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
2answers
499 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 ...
0
votes
1answer
186 views

How to remove a parameter set in an alias from command line

I have an alias for "ls" set like this: alias ls='ls -lh' If at some point I wanted to perform a one-time regular ls without either of those parameters (without l or without h), how would I do that ...
1
vote
0answers
625 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, ...
0
votes
0answers
184 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
1answer
84 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
0answers
436 views

Is he wrong? rar.exe examples for full, differential & incremental backups use the option -ac twice

while playing with winrar incremental backups, I found this page: https://x443.wordpress.com/2012/07/11/winrar-incremental-differential-backup/ I was looking at how the options make rar tick when it ...
0
votes
1answer
1k 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 ...
2
votes
1answer
2k views

Create Powershell Alias w/ a Function incl. Parameters

UPDATED-STATEMENT: 20190815@000000@THU Working on creating a powershell initial profile for current user only and without running as admin that is authorized to run commands from from the ps-...
0
votes
4answers
241 views

Determine if values are +/-10% of each other in excel

Hello and thank you in advance. I'm trying to put together a formula to determine if a series of values, e.g., 22.1, 23.4, 22.5 (up to 12 different numbers) are within +/-10% of each other. I've tried ...
0
votes
0answers
30 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
0answers
29 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
1answer
61 views

Why is Text Parameter not accepting new value only when default value is blank or NULL?

I have a group of users who need to amend address details pulled in a report before it is printed out. We do not want these amendments to be saved or recorded on CRM. I have worked out that using ...
0
votes
1answer
39 views

Remove characters from string when passing as parameter

I've tried Googling this and tested every permutation I could come up with, but I'm just not getting it. :( I have a function which accepts an identified input string: [user@Dreadnaught /]$ ...
1
vote
3answers
2k 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 ...
-1
votes
2answers
126 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
69 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?
1
vote
1answer
4k 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 ...
1
vote
1answer
578 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
23k 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 ...
1
vote
3answers
15k 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 ...
2
votes
1answer
637 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
781 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
870 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
504 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
4k 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
66 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
754 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
52 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
91 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
612 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 --...
6
votes
1answer
5k 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
389 views

Win7-64 powercfg –lastwake invalid parameter

The command "powercfg –lastwake" gives invalid parameter error, however powercfg /lastwake works. What gives?
0
votes
1answer
208 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
162 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[<...
10
votes
1answer
23k 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
73 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,...