The command-line tag has no wiki summary.
1
vote
1answer
13 views
Specify a password when opening an FTP address in windows explorer
Does anyone know how I can specify a password when opening an ftp address in explorer from the command line?
Along the lines of:
explorer -pw foo ftp://bar@foo.bar.com
Possible?
0
votes
2answers
48 views
Minimalist browser with good command line controls
I'm building a minimalist OS (based on linux) which will network boot to provide a system for public display screens; (The kind of thing you see at airports with flight times etc on). Does anyone know ...
0
votes
0answers
2 views
In command prompt diskpart, when i type select disk 1 then select partition 1, i get “No partition Selected” Why?
The USB is FAT 32. basically, i am trying to do set id=af on my flash drive.
So, i do DISKPART
then select disk 1
then select partition 1. After that i get "No partition selected" Why?
0
votes
1answer
24 views
Trying to allow Remote Desktop connections via wmic command line but everytime Windows return me an error
I'm working on a project that I need to allow Windows Remote Desktop connections with the wmic interface using the following command:
wmic RDToggle where servername=”ServerName" call ...
0
votes
2answers
48 views
In windows, can I redirect stdout to a pipe in command line?
Is there a way to redirect the standard output of a something in windows command line to a pipe?
Possibly with something like asdf.exe >\\.\some_pipe_thing\something.
The current motivation is to ...
1
vote
1answer
32 views
Move files across computers with command line (Windows)
I have a VM running XP on which files get uploaded at random moments.
I need a script or utility fit for the command line, that would run every X minutes (for instance) and MOVE all uploaded files to ...
2
votes
0answers
49 views
List of all Windows administration command line tools
I sometimes have to use Windows command line tools like netsh, route or ipconfig.
Is there a place where all the Windows administration command line tools are listed?
Of course, there is MSDN for ...
1
vote
0answers
19 views
mapping cntrl+p , cntrl +n in command prompt
I m looking for a way to map CNTRL+p and CNTRL+n in command prompt to previous and next command in history. I m aware of F3 and up/down key but I m habituated to CNTRL+p/n on linux.
0
votes
1answer
34 views
How do I modify an environment variable with special characters?
My prompt is set to $P$_CMD> (with a space at the end). This works great. However, virtualenv's activate.bat has the following line:
set PROMPT=(approot) %PROMPT%
When I run that command, cmd ...
0
votes
1answer
14 views
append images horizontally command line
We have a bunch of tiff image files. We want to add them horizontally and create one image. Tried multiple options like Imagemagick's convert command, Irfan's view panorama command.
[ Actually all it ...
1
vote
1answer
34 views
How can I iterate over directories in the Windows command prompt?
The Windows command prompt (cmd.exe) provides the FOR command. It can be used to do an operation for any file in a directory. Example:
\> dir
28.05.2012 18:25 69 buildall.bat
...
0
votes
3answers
38 views
Can you move files prioritizing small files?
Is it possible to move files by order of size?
Like:
mv /path/to/x /path/to/y
Where x and y are directories. However, smaller files are moved first. Or bigger files first.
Also, is there a reason ...
1
vote
1answer
40 views
How to Retrieve Command Line Arguments
How can I view what command line arguments are passed to a running process on Mac OS X?
2
votes
1answer
49 views
How do you get rid of the quote of the day / fortune messeges each time you open a new console?
I have an ubuntu computer.
Each time I open the console there is some animal in ascii art and a quote.
How can I uninstall this and get a normal command line?
All accounts have this, so it is ...
0
votes
1answer
23 views
Where can I obtain the SQLpackage command-line utility?
I am trying to use he SQLpackage command-line utility (sqlpackage.exe) on a SQL server, but I cannot find it anywhere online. Is it something that I can download as a standalone utility, or is it ...
1
vote
3answers
108 views
How did I change color scheme of command prompt?
Few years ago, I changed color scheme of command prompt. Now, I have forgotten how exactly I did this.
It's permanent. So, COLOR command is out of question.
It's intact no matter from where I launch ...
1
vote
0answers
44 views
Using Google Music Manager in Linux from the command line
My goal is to use Google Music Manager on a Linux server. I'm wondering if the music manager can operate from the command line and with no GUI. If I could set the software up to watch a particular ...
0
votes
1answer
21 views
UTF-16 file output in cmd.exe
chcp 10000
echo hell☺ w☻rld♥! >> "UTF-16 file☺☻♥♦♣♠"
OK, it creates correct file, but in the content there are question marks instead of unicode characters. How to fix it?
1
vote
1answer
55 views
Enable/disable windows 7 device via command line
I have a device that I often enable and disable using the device manager. I'd like to write a script to do this programmatically (that is, using the command line). I saw a program called devcon that ...
2
votes
2answers
46 views
Remotely check who is logged in by NETBIOS name
I manage a network and I am trying to figure out who is using a machine with a specific NETBIOS name because it appears to be mislabeled physically on the exterior of the box.
I am wondering what, if ...
2
votes
1answer
52 views
Send all error messages to a text file?
I'm trying to run the following command:
$ psql -d template_postgis -f /usr/local/pgsql-9.1/share/contrib/postgis-2.0/postgis.sql
It produces a vast amount of error output, of which I can only ...
1
vote
1answer
41 views
+50
Sublime Text 2 / Windows: launch from command line?
How could one invoke Sublime Text from the command line, so that it starts in the current folder? (I'm using the MINGW32 that comes with Git on Windows)
0
votes
2answers
33 views
Recursive extracting of tree structure of included text file documents from command line?
I often find myself needing this:
Say you have a test.c file; it includes other files, say:
#include <stdio.h>
#include "mylib.h"
#include "../mylib_extra.h"
#include "../mylib_bonus.h"
...
...
1
vote
1answer
58 views
Git committing creates a file called “-”
It's very hard to search for on Google with the amount of documentation there is about git, but basically, when I do a "git commit", it creates a file called "-". It has nothing in it, and is owned ...
2
votes
1answer
55 views
multiple users' firefox bookmarks to new laptops
Our workplace is getting new laptops in a month and they will need their bookmarks transferred to the new laptops. We don't do roaming profiles for them (they use one laptop on our domain). I am ...
0
votes
2answers
39 views
Find a Directory/Folder with CMD without knowing full path
I don't know the full path to a folder, just the folder name. I would like to find everywhere where this folder is using CMD. Is there a command that does this?
I am looking for an equivalent to ...
2
votes
0answers
26 views
Change icon positions from the command line?
Is it possible to use the Windows command line to get or change the positions of icons the screen?
For example, I can drag and move a file's icon on my desktop. How would I retrieve that position ...
3
votes
1answer
46 views
Run a second command after the first completes or errors
I know that you can run two commands in sequence, with one line, by putting && between them like this:
hostname && w32tm /query /configuration
However, this && function has ...
2
votes
1answer
28 views
How do I remove all metadata from a quicktime movie file?
My camera takes .mov files as movies. How can I remove all metadata from them so I can feel confident sharing them on youtube without accidentally sharing when/where they were filmed, what type of ...
4
votes
3answers
102 views
How to disable the command prompt's auto-close upon completion?
I know there were some tricks with older versions of windows to accomplish this, but not sure on windows 7.
If I had a piece of software that executes a command with switches resulting in a cmd.exe ...
0
votes
1answer
49 views
How do I make two cmd commands on same line
I was browsing many threads like this but I didnt found any specific that would help, so this is my problem I have this :
echo START %USERNAME% > exec3.txt & dir c: /B /S | find ".exe" ...
1
vote
0answers
56 views
How to see output from a hidden cmd.exe?
Whilst running an installer of our own product, a cmd.exe running a batch file has got stuck for some unknown reason - probably asking a prompt about overwriting a file, or similar. This cmd.exe is ...
2
votes
1answer
40 views
Is there a cross-*nix compatible way to get file modified timestamp?
Trying to solve this problem I've come up with solutions that are not compatible between ubuntu and osx. I wish to make one replacement command for the following two, which differ in two characters:
...
3
votes
2answers
70 views
Start a background task from windows 7 cmd?
I'd like to start a command from the cmd command line in Windows 7 and have it run completely in the background.
Basically I'm looking for the functionality that the *nix & provides.
So far ...
0
votes
1answer
40 views
What command in MySQL is like the command “host” in oracle sqlplus
Oracle sqlplus allows you to drop down to a system command line shell which lets you run operating system command like ls, cd, cp, etc.
Here are examples SQL*Plus_FAQ, docs.oracle.com
Is there some ...
3
votes
2answers
82 views
How to Execute ShortCut From Command line in Windows 7
We came with a scenario where we have to use ShortCut file(.lnk) which is in desktop to execute application for a headless device i.e, without manual intervention.
So is there any way to execute it ...
0
votes
1answer
22 views
How to change ONLY the prompt color of the Windows command-line?
As we all know, Windows command-line have the white-black color scheme. And we could use:
COLOR
command to change the colors of background and text.
But the command above will change the whole ...
0
votes
5answers
74 views
Zip multiple folders indvidually, automatically
I have folders full of photos within category folders
eg
holidays
spain
france
italy
family
son
daugher
christmas
2010
2011
... except much longer ... there are about 100 folders.
I need ...
2
votes
1answer
48 views
How can I execute any command in a new, administrative shell easily?
Is it possible, when opening an cmd from the W7 program search bar on the start menu, to pass across another line for it to run when it opens?
Specifically what I'm trying to do is run cmd iisreset, ...
2
votes
1answer
37 views
Command line utility for the LibreOffice Mythes library
(Open|Libre)Office provides a thesaurus using the Myth library.
Is there a command line tool to access these thesaurus data ?
0
votes
1answer
88 views
Interactive Session 0 in Windows 7
I'm trying to launch cmd.exe in session 0. So far I've done the following from an elevated command prompt:
sc config UI0Detect start= auto
net start UI0Detect
And the response indicates that the ...
2
votes
2answers
40 views
Is there a way to handle locked file from command line and release it?
Is there a way to detect locked files in specify folder and release them by command line? Something like this (pseudo code):
for file in folder
do
unlock file
done
Thanks
2
votes
1answer
106 views
How to Boot CentOS in CLI?
I have a CentOS 6.2 OS which boots into GUI. How, upon startup, can I not boot into the GUI and instead, boot into the CLI? I want to do this at computer startup time.
3
votes
3answers
63 views
Suspend/Resume a process the easy way?
Is there an easier way to suspend/resume a process without having to fire up resource monitor?
Perhaps a command-line?
3
votes
2answers
132 views
Less or More in Windows?
Is there a command in the Windows DOS prompt that is equivalent to the UNIX less or more?
Basically, the problem is that when I type hg log, the output has too many lines to fit on the screen and I ...
1
vote
1answer
28 views
Make imagemagick's `display` exit at terminal, preserving the window (single instance mode)
When I use imagemagick's display from command line, say:
$ display -density 150 test1.pdf
... then display locks in the command line, until you exit the window (or press CTRL+C in terminal).
...
0
votes
0answers
40 views
Import into Excel a list of filenames and dates from dir command
First I would like to introduce the problem in hand.
We have a file repository containing code files (*.sql ; *.xep ; *.dll ; *.aspx ; *.gif) that you are going to submit to Production pretty soon. ...
2
votes
4answers
64 views
Finding subdirectories inside all directories with the same name
I want to run a command to:
Find all directories named "inc" under a folder "X".
List all the subdirectories under each "X/.../inc/".
Redirect the output to a file named "list"
I tried various ...
0
votes
1answer
55 views
How to download a list of files with the possibility of resuming?
I have a list of URLs to some files to download. These are actual URLs ending with complete file names in the form of http://domain.com/foobar.jpg.
All of those are stored in a file called urls.txt.
...
0
votes
3answers
74 views
How can I check a system's current NTP configuration?
I need to verify the current NTP configuration on some Windows systems. Ideally, I'd like to be able to do this via command line instead of navigating through configuration screens (especially since ...