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
12 views

desktop backup program - folders not showing and “the parameter is incorrect” when choosing folders

When making a backup to Genie Backup Manager Pro 9.0, when I am at the screen where I chose folders to backup, there is my important work folder (tax software) that gives me this error when I try to ...
0
votes
0answers
27 views

PowerShell: User generated parameter conflict

When a user enters two parameters that are mutually exclusive, I get the error Test-Parameters: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued ...
0
votes
1answer
62 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
90 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
22 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
68 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
118 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 ...
0
votes
0answers
23 views

Opening the first file in an application's file list from a shortcut icon

In earlier version of Windows/Word it was possible to get a desktop icon to not only open the application, but also to open the first file in its list of recently accessed file. This was done by ...
1
vote
0answers
152 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
171 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
63 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
231 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
468 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
0answers
31 views

Crystal Reports Dynamic Parameter Missing Values - not near 1000 limit

Crystal Reprots 2008. We use dynamic parameters to help group our customers.Generally they are Region > Country > Customer We currently use 5 regions: Africa, East Asia, Europe, M East & S Asia ...
2
votes
1answer
1k 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
72 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
13 views

How to track SID History parameter in AD?

If person has admin right on AD he can compromise whole Forest (Reference: https://dirkjanm.io/active-directory-forest-trusts-part-one-how-does-sid-filtering-work/) In order to do that, that person ...
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
28 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
59 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
34 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
1k 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
31 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
94 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
66 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
2k 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
481 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
17k 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
9k 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
538 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
459 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
720 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
472 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
3k 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
64 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
699 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
51 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
87 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
520 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
3k 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
328 views

Win7-64 powercfg –lastwake invalid parameter

The command "powercfg –lastwake" gives invalid parameter error, however powercfg /lastwake works. What gives?
0
votes
1answer
188 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
100 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[<...
8
votes
1answer
11k 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
67 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
2k 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
141 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
9k 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
3k 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 ...
0
votes
3answers
3k 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 ...