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
0 answers
50 views

What are the command line parameters (options) for Microsoft's CMTRACE tool?

The CMTRACE tool is included in Microsoft's System Center 2012 R2 Configuration Manager Toolkit. It's a reasonably good tail tool. One of its downsides, however, is that it can take a very long time ...
user avatar
0 votes
0 answers
21 views

Passing customized parameter to systemctl

We have one service in CentOS 6, for that service we can pass parameters like service XXXX start, service XXXX stop, service XXXX minimalstart. We have all these start, stop, minimalstart functions in ...
user avatar
0 votes
0 answers
13 views

use part of a flag file name as parameter for encrypting a file

I have a program that creates a flag file that looks like this SendPaysource.66169592. There is also a corresponding data file that looks like this WSPGLOBAL.PAYMENTS.ISO20022_PAIN_01Ver3.66169592.xml ...
user avatar
  • 1
0 votes
1 answer
52 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 ...
user avatar
  • 113
0 votes
0 answers
41 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. ...
user avatar
0 votes
1 answer
44 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 ...
user avatar
  • 1
0 votes
1 answer
655 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 ...
user avatar
0 votes
1 answer
382 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 ...
user avatar
1 vote
0 answers
189 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. ...
user avatar
  • 9
0 votes
2 answers
989 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: ...
user avatar
1 vote
1 answer
976 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&...
user avatar
0 votes
1 answer
209 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) : ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
237 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,...
user avatar
  • 481
0 votes
0 answers
412 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 ...
user avatar
1 vote
2 answers
965 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 ...
user avatar
  • 51
0 votes
1 answer
237 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 ...
user avatar
  • 1,551
1 vote
0 answers
917 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, ...
user avatar
0 votes
0 answers
196 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" ...
user avatar
  • 583
0 votes
1 answer
102 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 ...
user avatar
0 votes
0 answers
641 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 101
2 votes
2 answers
3k 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-...
user avatar
  • 472
0 votes
4 answers
1k 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 ...
user avatar
  • 1
0 votes
0 answers
32 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 ...
user avatar
0 votes
0 answers
34 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 ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
0 votes
1 answer
73 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 /]$ ...
user avatar
  • 1
2 votes
3 answers
3k 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 ...
user avatar
  • 1,278
-1 votes
2 answers
152 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....
user avatar
1 vote
0 answers
80 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?
user avatar
1 vote
1 answer
5k 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 ...
user avatar
1 vote
1 answer
618 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 -...
user avatar
  • 423
1 vote
2 answers
25k 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 ...
user avatar
3 votes
3 answers
20k 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 ...
user avatar
  • 7,166
2 votes
1 answer
675 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 ...
user avatar
  • 145
0 votes
1 answer
1k 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} ...
user avatar
  • 125
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-...
user avatar
1 vote
0 answers
530 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 * ...
user avatar
  • 227
-1 votes
2 answers
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 (...
user avatar
0 votes
1 answer
70 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" &&...
user avatar
  • 741
0 votes
1 answer
810 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 ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
  • 199
0 votes
1 answer
95 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 ...
user avatar
  • 277
0 votes
1 answer
711 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 --...
user avatar
6 votes
1 answer
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?
user avatar
0 votes
1 answer
431 views

Win7-64 powercfg –lastwake invalid parameter

The command "powercfg –lastwake" gives invalid parameter error, however powercfg /lastwake works. What gives?
user avatar
  • 1
0 votes
1 answer
238 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 ...
user avatar
2 votes
1 answer
277 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[<...
user avatar
  • 336
11 votes
1 answer
33k 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 ...
user avatar