The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
20 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 ...
-1
votes
0answers
34 views

How to create a batch file that read parameters from another file

Someone help me to create a batch file that reads three parameters from another file e.g. Config.conf in same directory? The Config file contains following information: ...
2
votes
3answers
48 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 ...
1
vote
1answer
18 views

Wildcard argument to cygwin utility

Command ls "myfolder" does its job, listing csv files inside the folder. Yet ls "myfolder/*.csv" -> No such file or directory because ls "myfolder/*" -> No such file or directory and ls ...
0
votes
0answers
22 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
5 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
1answer
40 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
20 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
16 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
254 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 ...
3
votes
1answer
55 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 ...
3
votes
1answer
214 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 ...
0
votes
0answers
52 views

Auto record stream in VLC

I need to record different http video streams. At this moment, I manually open the stream and push the little record button when the extra toolbar is activated. It creates a stream automatically in ...
2
votes
2answers
144 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
19 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
53 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
0answers
36 views

Windows Command Prompt /k with history

I have created a shortcut which launches cmd.exe with a specific working folder and runs a program using the /k switch C:\Windows\System32\cmd.exe /k eac3to.exe e: This works as expected however ...
1
vote
2answers
52 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
109 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
528 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
91 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
208 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
42 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
110 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
1k 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
2answers
343 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
4answers
227 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 ...
0
votes
0answers
13 views

Embedded command line in documents to program the monitor (primary or secondary) onwhich the doc should display

Acrobat designer XI I would like to display a page with text on the primary monitor and display schemes and photo's related to this main text on a secondary monitor. I would like to program the page ...
0
votes
4answers
106 views

Linux: How to pass a file content as an argument to a command?

this is the content of the packageList file: base-files busybox dnsmasq dropbear firewall hotplug2 iptables iptables-mod-conntrack-extra iptables-mod-filter iptables-mod-ipopt iw jshn kernel kmod-ath ...
0
votes
1answer
85 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
1answer
55 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
2answers
153 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 ...
1
vote
2answers
645 views

What about this Forfiles command syntax is wrong?

I was attempting to issue the following FORFILES command, and I recieved an error that distressed me (listed after the command). C:\Windows\system32>FORFILES /P %WINDIR%\servicing\Packages ...
0
votes
2answers
64 views

How to get the command line of a running application?

If I've got a program open, for example notepad this.txt, how can I get the full command line of this application including the arguments which was used to launch the program? Ideally, I'd like a way ...
0
votes
0answers
155 views

How to open multiple tabs in IE8 from the command prompt and open window maximized?

source: How to open multiple tabs in IE8 from the command prompt? I would like to open multiple windows in Internet Explorer 10, each with multiple tabs. I want the windows open maximized. Executing ...
1
vote
1answer
26 views

GnuPG: how add user ID as single command without having to use Key Edit menu

Is there a command that can be given to GnuPG: to add user ID without having to go through the Key Edit menu. We need to be able to add and delete User IDs from inside a Python program. It would be ...
0
votes
0answers
163 views

PowerDVD 10 and 13 command Line Parameters for enabling 3D

Are there command line parameters to enable 3D for PowerDVD10 and PowerDVD13? I want to launch both vesions from command line to play a 3D file. Please help me.
0
votes
2answers
1k views

How to pass a terminal command as an argument to another command

I want to run this command: ls -arth Test*log | tail -1 ... and pass its output as an argument to: open /Applications/Utilities/Console.app <previous output> I would like to do this all in ...
1
vote
1answer
269 views

Open PDF to a certain page?

I need a batch file command to open a pdf with the Acrobat Reader on a certain page. "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" <PageNumber> <DocumentName> Thanks.
1
vote
2answers
173 views

Opening PowerShell at the current working directory from the registry

This question is prompted by a problem I faced while writing this answer. I am invoking PowerShell like this from the registry: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe -NoExit ...
1
vote
1answer
2k views

How can I disable accelerated compositing in Chrome without relying on a shortcut or .bat? [duplicate]

I'm using BBLean as an Explorer replacement to save myself a little screen space (among other things), but it's a bit finicky with Google Chrome, breaking page rendering in most situations. After some ...
27
votes
4answers
2k views

How to create a file which is named like a command line argument?

I was wondering how to make a file named as a flag, e.g., if I wanted to make a folder named -a, what commands would do the trick? I tried mkdir '-a', mkdir \-a, and neither worked. I'm on Ubuntu.
1
vote
1answer
3k views

robocopy with DCOPY:T does not work

I am using Windows 7. The robocopy switch DCOPY:T can be used (I mean there is no parameter error) in the command robocopy C:\TEST F:\test /E /MIR /COPYALL /DCOPY:T However, folder timestamps are ...
0
votes
1answer
113 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.
-3
votes
1answer
124 views

When is it necessary to quote a command line argument? [closed]

When is it necessary to quote a command line argument?
0
votes
1answer
502 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 ...
5
votes
1answer
3k views

(How) can I change the time until the screensaver kicks in from the command line?

As the title asks (Windows 7). (How) can I change the time until the screensaver kicks in from the command line? Is it even possible? Normally I am happy with a 5 minute setting, but occasionally I ...
1
vote
0answers
441 views

How to change installation directory path with command line of NSIS installer of new VLC player?

I want to silently install NSIS in D:\VLC. I can do that with old VLC version i.e. VLC 1.1.9. But I cannot do the same for VLC 2.0.5. Here is the command line I am using vlc-1.1.9-win32.exe ...
-1
votes
0answers
38 views

starting a process to run from command line [duplicate]

I'm trying to make "streamripper32" start on a schedule using Windows Task Manager. I am able to get the application to start but not able to get it to start running. I've tried every argument ...
2
votes
3answers
312 views

matching start of the line in cygwin regexp

I apply sed 's/^ bug*/__/' to ref bug bug ref and get ref __ __ ref The same is responded for perl, perl -ni -e 's/^ bug/__/; print'. Sample file can be downloaded ...