The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
4answers
4k 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
3answers
1k 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 ...
6
votes
2answers
2k 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
2answers
3k views

Execute local script requiring arguments on Linux via plink

Is it possible to execute (from windows) a local script with arguments on a remote linux system? Here's what I got: plink 1.2.3.4 -l root -pw mypassword -m hello.sh Is there a way to do this ...
2
votes
2answers
915 views

passing on command line options in bash

I have a question. I have a script, a kind of long script written in bash aprox. 370 lines. That has several functions and in those functions the user has to enter information which is then stored in ...
1
vote
2answers
172 views

Open file in Notepad++ as a tab without closing launched process

Some old tools are designed to work with an external text editor. I am stuck using a legacy tool that does this in the following way: Create a temporary file with the content to be edited. Launch ...
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. ...
-2
votes
2answers
7k 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 ...
3
votes
1answer
481 views

Shortcuts with command line arguments blocked with IE error - These files can't be opened

My local shortcuts (.lnk files) do not execute if the shortcut has any command-line arguments On freshly-installed 64-Bit Windows 8 Shortcut worked fine on Windows 7 32-Bit It depends where the ...
3
votes
1answer
632 views

Grouping shortcuts with different parameters in Windows 7 Taskbar

I have created many different windows shortcuts for pgAdmin.exe with the target database given as a command line argument. For example: "C:\Program Files (x86)\pgAdmin III\1.14\pgadmin3.exe" /s ...
2
votes
1answer
88 views

Error starting OneNote from command prompt

When I start OneNote 2013 from a command prompt, OneNote opens, but I am getting this error: Microsoft Office has identified a potential security concern Hyperlinks can be harmful to your computer ...
1
vote
1answer
122 views

Silent install exe with logging enabled

I have been facing a really strange problem trying to automate the installation of NewForma. Below is the line I'm using in a bat file: "\\bdc\deployment$\NewForma\NewformaProjectCenterOffice64Setup....
1
vote
1answer
97 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
vote
1answer
44 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
1answer
46 views

Open explorer in or create shortcut to a specific folder on media device

I want to either: a) make a shortcut to a specific folder on a media device (MTP), or b) create a .bat file or other easy script to open explorer and automatically navigate to the folder where the ...
0
votes
1answer
16 views

Win7-64 powercfg –lastwake invalid parameter

The command "powercfg –lastwake" gives invalid parameter error, however powercfg /lastwake works. What gives?
0
votes
1answer
28 views

Writing Command Line information to remote machine or web service?

I hope one of you could help me with a quick query that I have, as follows. I have a corridor rooms (about a 100 machines) and I want to collect the hostname of each. I have access to the command line ...
0
votes
1answer
161 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 /dev/mapper/...
0
votes
1answer
207 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
1answer
47 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
412 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
1answer
55 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
70 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
471 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
1answer
2k views

Extracting last command-line parameter of batch file

I have to modify a batch file (written by a former employee) that uses a for %%f in (%*) do ( ... ) loop to operate on each command-line parameter. The new requirement is that a directory name will be ...
0
votes
1answer
77 views

How to pass a super long argument in the terminal?

I wrote a python programme, that accept I pass an argument inside it. But when I pass a very very long, it automatically shorten my argument. How can I fix it? Thanks.
2
votes
0answers
1k views

Chrome: How to refresh tab if open, otherwise open new tab?

I'm opening a .pdf file from the command line in Chrome (Windows 7 64 bit). Every time the pdf file changes open the pdf to view it, but I don't want Chrome to open it in a new tab every time. Is ...
1
vote
0answers
267 views

Modify Chrome's startup command line options

I managed somehow to install an insidious toolbar. It modified many of my browser settings but one is especially puzzling. By typing chrome://version in the address bar I've noticed the following in ...
1
vote
0answers
39 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 ...
1
vote
0answers
96 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 ...
1
vote
0answers
1k views

Command-line option to compare 2 images in FastStone Image Viewer

I find FastStone Image Viewer a useful freeware to compare 2 images side by side, by selecting the images (by holding down Ctrl and clicking) in its Browser view, then pressing P. Is there a command-...
0
votes
0answers
69 views

tabcal.exe command line switches

There is a utility on Windows 7 that allows you to do touch calibration, if you have a supported touch screen. The executable is tabcal.exe and it's located in: C:\Windows\System32 I'm look for a ...
0
votes
0answers
19 views

PowerPoint command switch open in “Browsed by an individual” mode

PowerPoint provides the opportunity to save a PowerPoint in the slide show mode: "Browsed by an individual". This feature is pretty genius when running multiple PPs side by side. My problem is that ...
0
votes
0answers
59 views

Need a TeamViewer command line switch to start session in full screen mode

There's an official TeamViewer Help page that provides a couple of startup switches to create a shortcut to a particular host: https://www.teamviewer.com/hi/help/91-gibt-es-aufrufparameter-fuer-...
0
votes
0answers
6 views

getting error while using command line switches in zim-wiki

I don't know why I am getting this error when I am calling zim from the command line. link to the documentation for using command line options For example zim --help
0
votes
0answers
27 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
33 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
0answers
80 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
0answers
296 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
0answers
755 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
0answers
168 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
0answers
37 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
721 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 into....