The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
12 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!
-2
votes
2answers
68 views

Using PSexec to launch PowerShell session as system with specific window attributes

I'm trying to launch a PowerShell session via PSexec with alternate colors and some window attributes. The reason why I would need to run PowerShell through PSExec is so that I can have a ready-made ...
0
votes
3answers
36 views

How to see a list of available filesystems that I can use for the mkfs command?

Simply I would like to create some FAT filesystem. I would like to know what kind of FAT filesystems are available and what are their names. How can I do this from the command line?
0
votes
1answer
22 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) ...
1
vote
1answer
37 views

Start Firefox update (nightly) without actually starting firefox [duplicate]

I'm running a nightly version of Firefox (aptly called "Nightly"), and there's a problem. Given this is a nightly release, one of the recent updates, pretty much make Firefox unusable - it'll crash ...
0
votes
1answer
29 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 ...
1
vote
1answer
61 views

Using cURL command-line tool on Mac, What can I do to this script to ask it to fetch stock data which will replace commas with NO SPACES

Example: Google Outstanding Shares are 670,000,000 and this value is collected in a txt file from Yahoo Finance API via the below script. The issue is; that numbers WITH commas or spaces are a bloody ...
0
votes
0answers
29 views

How to pass a long list of files to a send-to command?

I have a batch script to perform a task on a list of input files. In order to call the script, I put a shortcut in the sent-to folder. Then I just select some files and select the script in the ...
2
votes
2answers
76 views

How to know if I have RAID configuration on my machine?

I was wondering if there is any Linux command I can use to check whether I have RAID setup on my machine? I know about cat /proc/mdstat but didn't show me anything meaningful. I just want to know if ...
0
votes
1answer
83 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
18 views

CentOS: Can Top -u Display 2 or More Users?

Showing processes for 1 user is rather easy with Top: top -u someuser1 or by hitting u while top is running. Is there any way to make Top show processes specifically for 2 (or more) users? An example ...
1
vote
0answers
25 views

Any way to obscure password in Windows EXE start-up argument?

There is a Windows GUI application (call it A from now on) that takes some password as its start-up argument. For example, C:\SomeProgram.exe /usr=homer /pwd=simpson There is an application (call ...
0
votes
0answers
56 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
27 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
0answers
83 views

SIMS.net CommandReporter.exe Error Running Report

I would like to run and save the output of a SIMS.net report using the CommandReporter.exe tool included with the package. I have tried running the following command: CommandReporter.exe ...
1
vote
0answers
58 views

Missing arguments in SQL 2012 command line installation

I am new to SQL installation through command line. We are developing an application and using Installation Shield. I need to install SQL server on clients pc, so I am using command line silent ...
2
votes
5answers
2k views

Nslookup command line with A record IP as sole output

I've found the following command to get your current public IP that works well from command line: nslookup myip.opendns.com resolver1.opendns.com I want to be able to run a command though that JUST ...
10
votes
2answers
1k views

Passing command-line arguments to a windows batch script

I need to create a windows batch script where I need to pass a few command-line arguments. These arguments may appear in in any order, but the script should pick them up properly based on the argument ...
0
votes
1answer
43 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
2answers
213 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
3answers
84 views

Shuffle file name arguments in zsh

Suppose the application can only open files via command line arguments, how would i go about randomizing a list of file names/paths to accomplish this? I thought this should be fairly easy but ...
3
votes
1answer
110 views

Bash: optionally passing arguments to a command

I'm trying to add arguments to a command call depend on another variable. Please look at the shell scripting code: curl \ $([ -z "${title}" ] || echo --data-urlencode title=${title}) \ ...
0
votes
1answer
179 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 ...
2
votes
1answer
66 views

How to generate an OpenPGP Signed Message with GPG?

In RFC 4880, there is section 11.3 which specifies the different formats an OpenPGP Message block can have: 11.3. OpenPGP Messages An OpenPGP message is a packet or sequence of packets that ...
0
votes
2answers
825 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
438 views

Play mov file in existing vlc window using command line

I'm trying to play a mov file using vlc (2.1.4) command line, but I want it to join the existing vlc window each time. It seems like in older versions there was a command line option --one-instance ...
1
vote
1answer
51 views

realpath (GNU coreutils 8.22) does resolve “.” symlink regardless of “-s”

I'm trying to use realpath in a script which has to ensure that it is located under a certain (possibly symlinked) path. Also the script has to be runnable from any location, so it cannot presume that ...
2
votes
3answers
64 views

What's Linux test -a command test for?

Please take a look at the following code, snap=snapshot.file touch snapshot.file-1 $ [ -a $snap-1 ] && echo yes yes What does the test -a command tests for here? I tried info ...
0
votes
0answers
73 views

How to run --args AFTER Google Chrome is already open

How do run --args after Google chrome is already open? open -a Google\ Chrome --args --"profile-directory"="Profile 1" ONLY works when Google chrome is not running and I would like to know how to ...
0
votes
1answer
28 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 ...
1
vote
1answer
203 views

Passing Arguments to Hex on Windows Command Line

I want to pass arguments manually on the Windows command line consisting of hex values of the byte e.g. "\x41\x42\x43\x44" - a sequence of 4 bytes on the cmd.exe command line to a program. How do I ...
0
votes
1answer
45 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
0answers
22 views

How do I replace a numeric label in one text file with the corresponding alphabetic name in a second text file?

I have two text files. In the first text file, I have a phylogenetic tree written as a series of sets as follows: (1,(((((((((163,164, etc. In the second text file, I have the taxon names as ...
3
votes
2answers
4k views

taskmgr.exe called with an argument by Windows 7

So I noticed when I press Ctrl+Alt+Del and click Task-Manager, Windows calls taskmgr.exe /3 as command. Several websites claim the Task Manager has no command line arguments. Why does Windows ...
4
votes
1answer
462 views

Recursive folder rename through command line

I have 500000 plus files in over 3000 directories and need to rename all folders called PHOTOS to Photos. I also need to Rename any Folders call Photos blah blah blah to be called just Photos. It ...
4
votes
1answer
2k views

Opening Folder Options window in Windows from the command prompt

If I need to open the Control Panel through the command prompt, it is enough to type control I need to open the Folder Options window through typing some command through the command prompt. Any ...
2
votes
2answers
482 views

Robocopy “modified”

Using robocopy on Windows 8 to automate backing up several different groups of files. It labels all of them as "MODIFIED" all the time though even if I just ran it and haven't touched the files. How ...
0
votes
0answers
32 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
2answers
95 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? ...
1
vote
2answers
62 views

How to take command line parameters from a file

I've got a file each line of which contains an URL. All those urls one by one need to be passed as a command line parameter to a certain program. How to do this?
2
votes
1answer
300 views

use FFMpeg to send BMPs to stdout

I see lots of examples using FFMpeg to make a video file from a set of images. I can also see how to do the opposite if I want individual files. However, I want the images to be pushed to stdout. This ...
2
votes
1answer
2k 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> ...
1
vote
1answer
202 views

Command line 7Zip to create archive without extension

If I specify full extensionless result path 7zip adds one corresponding to the type of created archive. How can I make it name the result file exactly as I have specified in command line argument?
1
vote
2answers
1k views

What is the equivalent to --help or man page in Windows?

If I want to know what my options are for a Linux program then I'll do man program or program --help to find out. How do you do that on Windows? I was reading about how to run a screensaver from the ...
1
vote
0answers
66 views

Command line usage for Chrome

Right now I have a command on Windows that invokes chrome.exe with a local (on disk) .html file as argument. The resulting behaviour is: Chrome opens a new tab with that page. What I want is: if ...
0
votes
0answers
386 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
2answers
5k views

Firefox command line arguments

Where can I find a reference document with all Firefox command line arguments? I would like to know if there is any equivalent of Chrome --incognito, --new-window, --allow-file-access-from-files and ...
0
votes
4answers
1k 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 ...
1
vote
5answers
765 views

Unable to delete a file, shows path not found error

Due to some malware attack a file named com7.ini.asp got created in my folder and it is hidden when I browse it through Windows. I tried the following: I gave the whole path in the address bar and ...