Skip to main content

All Questions

Tagged with
7 votes
1 answer
3k views

How to get a Unicode-supporting font for Windows 7 command-line?

I've pointed the command-line to the right codepage (chcp 65001), but there's a lot of Unicode characters that Consolas and Lucida Console can't show. Specifically, I want the printable IPA ...
5 votes
2 answers
603 views

Non-alphanumeric character folder name auto-completion problems

I have been working with Windows 7's command line and have some folders that begin with non-alphanumeric characters. When I try to use tab completion to complete the folder name, the initial character ...
5 votes
3 answers
5k views

Powershell vs. vbs vs. bat

I need to configure few Windows 7 machines (with a wide variety of tasks - from setting up screensaver, disabling services, adding task schedule entries to setting up IPsec/firewall rules). Since it'...
3 votes
3 answers
3k views

How to edit the content in cmd.exe?

With cmd.exe, when something's wrong with what I typed? What edit option can I do? I can use arrow key to move cursor one by one, but it would be great if there's a key for Move the cursor to the ...
1 vote
1 answer
2k views

Windows 7 Command Prompt drives not available

I have the opposite problem compared to the author of this question: Hard drive access denied from Windows Explorer (but works from command prompt as Admin) I can see all the drive letters for a ...
4 votes
1 answer
13k views

How to convert an IIS folder to an application?

When I want to convert a folder to an application, I proceed as below screenshot. I'm looking for script to do this from a batch-command/.bat-file. Is it possible? If it is, please share. Thank you!...
7 votes
2 answers
6k views

Can I browse windows 7 libraries from the command prompt?

If I am at a Windows 7 command prompt is there any way that I can navigate to one of my libraries? e.g. something like cd libraries:\code
1 vote
1 answer
92 views

Developer oriented Windows command shell with bookmarks?

I'm looking for a command shell in Windows 7 ala Powershell that allows me to have bookmarks and such, so I can start a shell in a specific directory, remember command history, have completion for ...
3 votes
1 answer
5k views

create a list of files and folders inside of a folder via cmd and outputting it in a .txt

I need to create a list of files that is in a certain folder, and then outputting it in a .txt file and put it on my desktop. Is this possible with CMD and if so, how can I do this? Windows 7 Home ...
1 vote
1 answer
717 views

Windows Media Center command line options?

Is there a command line interface to Windows Media Center in Windows 7. I have an SSH daemon installed on my media center box and would love to be able log in via SSH and get the list of upcoming ...
3 votes
1 answer
804 views

is there any tool can give me 8-3 short name for a long directory name

For example, I want to know the 8-3 name for c:\program files(x86\test
1 vote
2 answers
5k views

Commands to run function keys from command line?

Are there commands to invoke function key commands from a command prompt? I would like to script something that I can't find command line options for. Also, I don't want to install another app, like ...
1 vote
1 answer
1k views

How to clone or copy running windows 7 to child partition

Is there anyway to clone partition to partition in windows 7 for free using some kind of command line tool so that i can set block size to increase speed i google and found some tools like dd for ...
2 votes
1 answer
736 views

Change Prompt to Short Path

If I am in command prompt (Windows 7), and I am in a directory with a very long name (ex: C:\Users\Oorang\Documents\Visual Studio 2010\Projects\My Project\My Project\bin\Release), is there a way to ...
6 votes
2 answers
13k views

How to switch to having administrative privileges [duplicate]

Possible Duplicate: is there any 'Sudo' command for windows ? I was wondering how to switch to having administrative privileges in a command line window of Windows? Is there any way ...
2 votes
1 answer
5k views

in Windows Command Line Prompt, why do my python files open in vim instead of executing?

I seem to have edited some setting for windows command prompt in windows 7 and forgot. [EDIT: it was just set as the default application for .py files in windows explorer. Dennis answered it below] (...
8 votes
2 answers
1k views

How do I change the contents of the command prompt?

How can I permanently change the contents of the command prompt under Windows 7? I know about the prompt command, and the content options, but I'm not sure where to save the custom prompt so that it's ...
1 vote
1 answer
219 views

Having new environment variable by forcefully applying the new environment variable?

When I change environment variable, I just reopen the terminal to have the new environment variable. When I install the Rocket Dock, and drag & drop the terminal, the environment doesn't seem to ...
5 votes
3 answers
24k views

Command-line OCR in Windows 7

What are some command-line OCR utilities that will work in Windows 7 64-bit?
2 votes
1 answer
2k views

On Windows 7, how do I fix my cmd.exe icon and remove cruft from the jumplist

When installing drivers for my Gigabyte motherboard, I installed a "Games" link which ran from a batch file. This was pinned to the taskbar by default. As a result, it changed the icon for cmd.exe to ...
6 votes
1 answer
4k views

remember history in cmd.exe?

Is it possible to remember the command history in CMD.EXE (Windows 7), between sessions? Or is there some enhancement/wrapper/replacement which has this (basic IMO) feature?
2 votes
1 answer
3k views

How to check the error code after a console program exits

After a program exits from command line, how can I check the exit code?
1 vote
1 answer
8k views

How can I stop/start a java application from the command prompt?

I've got a Java application, that I startup from the command prompt using a .bat file, contents look as follows : cls rem Starting app set CLASSPATH=.;.\lib\ title App1 starting java app/StartMe It ...
4 votes
3 answers
7k views

How do I escape the string \" for command line in Windows?

For a script that compiles LaTeX for me, I have to send the string \" to the command line, within a string delimited by ". Example: >pdflatex "\IeC{\" o}" How do I escape the " in the middle? If ...
1 vote
1 answer
634 views

How to add a command line switch to a Windows 7 file assocation?

I want to add some command line switches when calling a program via File association in Windows 7. This used to be possible in Windows XP, but I can't see how to do it in Windows 7.
1 vote
0 answers
1k views

Starting an elevated command prompt from a folder's context menu in Windows 7 [duplicate]

Possible Duplicate: Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7 Windows 7 will display an 'Open command prompt here' context menu item ...
7 votes
3 answers
11k views

Is there a way in Windows 7 to create a shortcut to a command-line (console) application and leave the command window open?

There are a number of console type applications, e.g. ipconfig, that output information to the standard output. The problem is that if I create a windows shortcut to them it runs the command and ...
1 vote
1 answer
392 views

What is the command to set title for an image file in Windows 7?

I want to set the title of image files (view Properties - tab Details - Title textbox) to be their filenames by running a command from command line. How can I do this?
1 vote
0 answers
2k views

Can I pin a cmd/batch file to command prompt on the Windows 7 taskbar? [duplicate]

Possible Duplicates: How to pin either a Shortcut or a Batch file to the new Windows 7 Taskbar? Windows 7 CMD.exe jumplist possible? Hey all, just wanted to ask quick if anyone knows how to do ...
7 votes
1 answer
7k views

How to set the default command prompt properties in Windows 7?

I have a command prompt shortcut which I customized to have a different font, etc. than the default. It works well, but when I start a batch file with the task scheduler then it uses the default ...
4 votes
2 answers
1k views

how to fix firefox command line arguments launched by the start menu's search box?

Another little, but annoying and not understandable issue on my computer: If I use the start menu's search box to launch firefox with command line arguments (e.g. -p -no-remote) but without its full ...
1 vote
1 answer
3k views

How can I run a IE window without tabs and menus?

Is it possible to run from the command prompt an Internet Explorer window which does not contains tabs and menus (popup window)?
6 votes
1 answer
22k views

What is the WMIC command, and how can I use it?

Someone on an IRC network was asking for the CMD command to "index a folder". Turned out he meant the "TREE" command. Anyway, while looking over the list of existing commands, I noticed something ...
2 votes
1 answer
1k views

When I start command prompt w/ administrative rights, the "Start in" location is igored. Any way to avoid this? [duplicate]

Possible Duplicate: Windows 7 Administrator Command Prompt “Start in” Path I have it set to c:\myfolder. If i click Start->Command Prompt it opens a console window started at c:\...
0 votes
1 answer
6k views

Enable compatibility mode for command prompt in windows 7

I wanted to do something as simple as creating a link to run command promt as an administrator. So I created the link, but when I right-click>Properties>Compatibility all options are grayed out, and I ...

15 30 50 per page
1
18 19 20 21
22