The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
3answers
50 views

How do you write to a file within the command line?

Specifically mac, but for future reference for those that come across this post, this could be on any OS. So am learning the command line, and one utility (perhaps the only one) which seems to be ...
0
votes
1answer
1k views

How to escape the arguments correctly when calling cygwin bash -c?

I am trying to call the scanimage command (from the SANE tool) from inside cygwin though I think that my problem is one of general escaping so maybe what I am calling doesn't matter. Anyway... The ...
0
votes
1answer
111 views

Is it possible to catch the arguments of a program?

I wwant to catch the command-line arguments of a program I use, so when I start test.exe with arguments -debug and -console I can see this arguments even if I don´t have the source code of the ...
0
votes
1answer
210 views

Once-off run a program with command line options from shortcut

Is there any program that will let me run a shortcut, but add additional arguments to the command line? Ideally, I would like this as an option in the right click menu.
0
votes
1answer
21 views

Is it possible to add command line arguments or additional applications to Win7 jumplists?

In Win7 SP1, is there a way to add items to jumplists to launch the associated application with different command-line parameters, or even launch other applications? There are a number of tools that ...
0
votes
1answer
19 views

Moving specific files into a folder based on directory using Command Prompt

I have a series of about 100 folders called E101,E102....E200. Within each of these folders is a file called calquip.docx and calquon.docx I would like to move calquip.docx and calquon.docx into a ...
0
votes
1answer
49 views

Windows: how to call batch file with low priority with Ctrl+C support?

I know that I can run a batch file with a low priority using command: cmd /c start /B /BELOWNORMAL mvn.bat clean install && exit... The problem is when I press Ctrl+C it does not stop the ...
0
votes
1answer
67 views

Open source browser with command line option to check for errors retrieving the page?

I have a couple of TVs powered by Raspberry Pis - they have Raspbian installed and boot straight into Midori's full-screen mode. They display metrics and as such they should always be on and ...
0
votes
1answer
443 views

Passing optional parameters in a batch script

I'm trying to write my first batch script and trying to understand how to pass arguments. It's a very simple command which runs fine in cmd. Command: C:\Program Files\Foo> myexe -sd tempVar ...
0
votes
1answer
56 views

Export image dimension to text?

I have an image called a.jpg. I use "feh - imlib2 based image viewer" to get the information about image dimension. The command I use is feh -l a.jpg And the result is NUM FORMAT WIDTH HEIGHT ...
0
votes
2answers
124 views

How would I know possible combinations of parameters an exe file ran via cmd can take? [duplicate]

You can run some exe files from cmd.exe providing arguments. example P:\foo\boo “” user pass P:\system\ company foo –P boo Is there any way to actually find out what parameters an exe can take? ...
0
votes
1answer
216 views

Adding a complicated launcher to the “Open With” list in Ubuntu

I have a complicated shortcut/launcher that I would like to put in the Open With list. The shortcut uses the command screen -d -m bash -c "screen;source /home/me/intel/bin/compilervars.sh ...
0
votes
2answers
704 views

Unable to get ls to recognise LS_OPTIONS or LS_COLORS?

Trying to get --color=auto as the default ls argument. $ ls --version ls (GNU coreutils) 8.21 … $ echo $LS_COLORS ...
0
votes
1answer
1k views

Delete a character from an argument passed to a batch file

Suppose in a batch file, say receive.bat, is called with some arguments. Now receive.bat executes and it needs to process these arguments. Sometimes (but not always), an argument will end with a ...
0
votes
1answer
206 views

Can I add arguments to a program in windows without using a shortcut?

Is it possible to add arguments to a file without creating a shortcut to it in windows? Specifically windows XP, Vista, and 7? If so, how would you do it? I'm not talking about using a batch file, or ...
0
votes
1answer
132 views

Python script takes string args with './[];' — Tell terminal to process as literal input?

My script takes a key as its third argument, and it can have any kind of input...including characters that bash complains about. I'd really like to use this one-off script right from the terminal, ...
0
votes
1answer
1k views

Passing arguments to shortcuts through start+run?

I've been making shortcuts to thing I use often so I don't have a cluttered taskbar. I have shortcuts for games, thunderbird, etc, and just type winkey+r tb for thunderbird or winkey+r wa x^2+2x+3 dx ...
0
votes
1answer
14 views

Get FileZilla Server version from command line

Is there any way how to get FileZilla server version from command line? Client can do this. FileZillaServer.exe /v, FileZillaServer.exe /version or the same with dash does not work.
0
votes
0answers
12 views

detailed listing and description of freearc switches

The documentation that comes with freearc seems a little bit sparse and outdated unfortunately, at least when reading posts on http://encode.ru/ And following the trial and error principle is ...
0
votes
0answers
23 views

Firefox with arguments stripped from start menu

Migrating from Windows 7 to Windows 10, some of my start menu items have gone missing. Among them is one to start the Firefox profile manager, and another to launch a specific profile. They were in ...
0
votes
1answer
34 views

Can I query a different AD domain with the default Win7 install? [duplicate]

Background I work in an Enterprise where our Active Directory is locked down pretty tight and only Info Security has access to administer changes. I'm using a standard Win7 Enterprise x64 Service ...
0
votes
0answers
58 views

How to run git pull command non-interactively?

I've the following find command which scans all previously cloned git repositories and pull them again: find $PWD -name .git -type d -print -execdir git pull -qv ';' The problem is that some of the ...
0
votes
1answer
65 views

%T specifier in printf option of `stat` command

I want to know what is %T specifier in stat printf option and how it gets the file descriptor value ie., fd,1 is printed by using the below command. command is $> echo `stat -L ...
0
votes
2answers
129 views

How to create an alias for standard “java” execution command?

I want to create an alias for running the java projects on command line, like instead of putting "java classname" every time ; I want to create an alias for that 'java' command. For instance, "run ...
0
votes
0answers
215 views

Creating m3u playlist of the most recent (100) files in a directory

I'm not familiar with scripting / shell commands. I have a .bat file that generates four m3u playlists (absolute paths) from the contents of four folders. @echo off cd E:\Music\Downloads dir /o:n ...
0
votes
1answer
90 views

Is it possible to run multiple instances of OBS on Mac OS X?

I've read that using the -multi command will allow you to open multiple instances of OBS (Open Broadcaster Software) simultaneously. I tried adding the parameter via the command line, but it only ...
0
votes
0answers
385 views

Execute multiple commands in init.d script on boot

I found a guide for fixing permissions on an EXT4 filesystem on a MicroSD card. The AOSP/CyanogenMod ROMs I've tried will mount this, but the permissions are messed up. The guide used to work fine on ...
0
votes
1answer
287 views

How to disable Gecko package popup for Wine?

When I run my app under Wine: wine my_app.exe I've got this annoying popup: which says: Wine could not find a Gecko package which is needed for applications embedding HTML to work correctly. ...
0
votes
2answers
141 views

vim/gvim command line switches?

I've just spent 1/2 hour trying to find a list of command line switches for vim. Since vim is a "command line editor" a search on "vim command line ..." is not very useful. I got curious trying to ...
0
votes
0answers
32 views

How to load insecure content in IE through command line switch

Is there any command line switch in internet explorer to load insecure content? I know we got one in chrome --allow-running-insecure-content....is there anything like this in IE?
0
votes
0answers
243 views

How do you disable special keys in osk.exe?

When running osk.exe from the command line, how do you disable or hide keys such as Alt, Crl, and Fn? We're developing some software that'll be run in a slightly risky setting (using kiosks), and we ...
0
votes
1answer
322 views

How to run batch file command line argument on another server?

I have Encrypt.bat on \\RDWAPPserver which contains code to encrypt the file and upload it to FTP server by using 2 commandline parameters. Encrypt.bat needs 2 commandline parameters exl: ...
0
votes
1answer
226 views

How to auto-generate filename of PDF in wkhtmltopdf based on the page title?

I'm using the following syntax to generate PDF from URL: wkhtmltopdf http://example.com/ example.pdf Is there any way to generate filename automatically based on its page title? So I'm expecting ...
0
votes
0answers
19 views

How to append “*” to the start and end of command line parameter in CSH?

In CSH example, echo aaa can print out “aaa”; I need echo_test aaa print out “*aaa*”. While alias echo_test 'echo "*\\!**"' can only print out “*aaa”. Thanks!
0
votes
1answer
40 views

What's the point in arp -g?

I typed arp into Windows CMD and it gave me the options as to what I can do with it. It gave me arp -a (then gave details) and then it showed arp -g which says 'same as -a' So what's the point of ...
0
votes
0answers
11 views

How to find out the command line arguments a launcher uses to launch an application? [duplicate]

There is an installed application(A) and there is a separately installed launcher application(L). This launcher application launches the application(A) and sets some command line arguments(parameters) ...
0
votes
1answer
39 views

Which is the preferred approach to pass command/script arguments to a log file?

Generally, I am wondering how I can pass the arguments from a terminal command to stdout. More specifically, I am using tar as part of my backup process and I would like the parameters (especially ...
0
votes
1answer
292 views

Use nbtstat to return list of host names in IP range?

In Windows 7 I'm using the command for /l %i in (1,1,254) do nbtstat -a xxx.xxx.xxx.%i to return host names based on a given IP range. But the output is so long and unfriendly. How could I improve ...
0
votes
0answers
139 views

H0w do I add a delay to the launch of an application via RocketDock Shortcut

I have a shortcut in Rocketdock that will trigger my screensaver using flipss. However, the screensaver starts right away and the dock won't auto-hide until the mouse is no longer hovering over it. ...
0
votes
2answers
56 views

tar command does not list content of tar package with -t option

I am trying to list the content of the tar archive with the following command tar -t "filename".tar But the shell works on this one forever without any output message. I did a research on this ...
0
votes
3answers
986 views

TextPad Command Line Argument: Open in Existing TextPad Instance

What are the command line arguments you can use for TextPad? I've searched for this but TextPad doesn't document this. We have an external application; when the user clicks a button our application ...
0
votes
2answers
1k views

WinRAR - Using rar.exe command line to extract all files in all archives in a folder then delete all the archives?

I want to use rar.exe via command line to extract all files in all archives in a folder then delete all the archives automatically if they extracted successfully? I tried -df and -dr to no avail. ...
0
votes
1answer
46 views

less -S server.log (unix)

For a better understanding I prefer to read the logs with no wrap lines. In less I can get this with the -S option. The problem is that I can not select and copy rows that go beyond the right side ...
0
votes
0answers
36 views

Network Permissions, Traversing Folders, Command Line

I am trying to delete a text file from my command line in a directory that exists in a Failover cluster in a Windows 2008 R2 server, to which I am connected over my corporate network. I have all ...
0
votes
0answers
644 views

Passing Command Line Arguments to EXE

I am using the java jar utility which does not supoort extracting to specific directories via command line argument. Therefore, I need to cd into the folder I want the extracted jar files to go ...
0
votes
4answers
3k views

Unzipping files using winzip in command prompt

I am trying to unzip the files from an archive called wz_test at the command prompt, using the following command: wzunzip -d c:\wz_test.zip c:\new I am not able to unzip because it's saying that ...
0
votes
1answer
68 views

Understanding an application's cmd arguments

I'm testing out an application and its sourcecode gives no clues as to the actual syntax other than the help output. I have tried many combinations trying to get it to work, and it keeps outputting ...
0
votes
1answer
233 views

How to make exiftool not to change file's date and time

How to make exiftool not to change the date and time of the affected files? I mean not the date and time written in EXIF, I mean the date and time of the file itself.
0
votes
1answer
436 views

%1 in registry not being expanded in Windows 8

I have made a tool that adds some things to the context menu when right clicking a directory, inside the 'empty space' of a directory, or a drive. I have used this extensively in Windows XP, Vista, ...
0
votes
3answers
464 views

Passing multiple sets of arguments to a command

instances contains several whitespace separated strings, as does snapshots. I want to run the command below, with each instance-snapshot pair. ec2-attach-volume --instance $instances --device ...