Skip to main content

Questions tagged [arguments]

The tag has no usage guidance.

3 votes
1 answer
26k views

How to pass multiple arguments?

How to pass multiple paramaters for Start a program action in Windows Task Scheduler for a batch file? There's no built-in syntax hint...
Nae's user avatar
  • 237
0 votes
2 answers
561 views

bash script: passing arguments to mkfs

I'm writing a bash script to format my partitions. One of the commands I want to run is the following: mkfs.btrfs -f -m single -L root /dev/sda1 So I have split that command into the options part: -...
coverflower's user avatar
2 votes
0 answers
2k views

Dynamic Arguments for Task Scheduler

I am trying to schedule a task that runs a command with dynamic arguments. So for example, instead of the word "Arguments" at the end of the command below, I need to pass the following arguments: ...
Ramin Melikov's user avatar
1 vote
1 answer
18k views

Using the "%~dp0" with command line arguments not working

Been concocting a deployment script for a software, which needs to install Visual C++ 2013 Redistributable, in silent mode, from a moving source (aka, the folder might be on a key, on a server, ...
Alex Pilon's user avatar
-1 votes
3 answers
205 views

How to use the command "read" on a Shell script which reads its arguments from stdin

First of all, thank you for your help in advance and sorry in case this was answered before. I have not been able to find it. For helping to understand my question, I have written the following ...
Lucas's user avatar
  • 1
0 votes
1 answer
82 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,...
Luca Reghellin's user avatar
2 votes
2 answers
11k views

List of arguments for scheduled task

When you edit the action of a Scheduled Task, there's the option of "Add arguments". The software I use right now has the argument -cp .\Acquisition.Jar et.EPC I've been googling for a while and ...
loli's user avatar
  • 139
1 vote
3 answers
6k 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 ...
sancho.s ReinstateMonicaCellio's user avatar
-1 votes
1 answer
647 views

How to handle the arguments flags for an .exe file? [closed]

Suppose that I'm using a program with a login page. And lets call it a.exe. Whenever I execute a.exe I face a login page with empty fields such as Username, Password, Application Server, Database ...
ybaylav's user avatar
  • 15
6 votes
1 answer
539 views

Why does the ls command require a dash before its parameters but for tar command, the dash is optional?

I am new to Ubuntu and I am trying hard to understand the command line. When I want to see the contents of a tar file I use: tar tf tarfile.tar But when I want to see a listing of all file if I ...
Dianne's user avatar
  • 236
0 votes
1 answer
151 views

Passing different set of arguments to the different commands in a linux bash script

I am writing a bash script foo.sh that runs too commands bar with first input argument, and baz with the second argument: #! /bin/bash bar "$1" baz "$2" Now I want to make foo.sh more flexible, ...
Ali's user avatar
  • 451
0 votes
0 answers
74 views

Batch arguments for SSH Secure Shell in Windows 7?

I installed SSH Secure Shell to connect to my remote server, and I want to automate the process of updating my website. I was going to make a batch script to automatically push and pull from my site ...
Maurdekye's user avatar
  • 155
0 votes
2 answers
138 views

How can I convince an older person to at least **try** to learn how to use a PC? [closed]

I have no clue if this is the right forum. My father who is in his mid 50's basically always asks me to fix things, help him with random IT related things. It is definitely fine to help, but most of ...
dyesdyes's user avatar
  • 103
11 votes
3 answers
105k views

How can I run an application with arguments from Windows Explorer?

Is there an easy way to launch an application from Windows Explorer with arguments? Or do I have to actually run them from the command line?
ajb32x's user avatar
  • 275
3 votes
1 answer
9k views

Command line 7Zip to extract file by specified result path

Is it possible to make 7Zip extract one file by name from archive to specified full path (including new filename)? I've found only: 7zip e <archive> -o<resultDirectory> <filemask> ...
SerG's user avatar
  • 441

15 30 50 per page