The tag has no usage guidance.

learn more… | top users | synonyms

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
3answers
970 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
1k 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 ...
2
votes
2answers
886 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
66 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
4k 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 ...
4
votes
1answer
2k 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 ...
3
votes
1answer
467 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
597 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 ...
1
vote
1answer
42 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
87 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: ...
1
vote
1answer
84 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
39 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
64 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
1answer
89 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
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
288 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
45 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
67 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
434 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
174 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
34 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
84 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 ...
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
22 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
56 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
214 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
372 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
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
239 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
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
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
0answers
35 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 ...