All Questions
Tagged with parameters windows
8
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 ...
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
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
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 ...
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
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
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
2
answers
876
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 ...