|
I have remotely connected to a Windows 7 computer via psexec and am running a remote command prompt on the Windows 7 computer. The command I am trying to execute requires that it be run in an elevated command prompt for it to work.
How do I get to an ...
Started by ObligatoryMoniker on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Thay are just registry settings, though, so it would be fairly easy .
A Powertoy to install to force elevation in a command, but as the prompt needs to be displayed I think the command has changed.
|
|
When I open a command prompt through Visual Studio, I get:
Setting environment for using Microsoft Visual Studio 2008 x86 tools. C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>
What kind of tools are available, and what are the most common...
Started by SkippyFire on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Th Visual Studio command prompt is a convenient way to access the command line tools the Visual....
Good information:
Working at the Visual Studio Command Line
The Visual Studio command prompt has a few and here .
|
|
If I modify or add an environment variable I have to restart the command prompt (minor inconvenience). Is there a command I could execute that would do this without restarting CMD?
Started by spoon16 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The latest accepted answer environment....
Variable outside of the scope of an existing open command prompt you either need to restart the command prompt, or, manually add using SET in the existing command prompt.
|
Ask your Facebook Friends
|
Hi,
Does anybody out there know the linux keyboard shortcut for skipping words in a command prompt. e.g.,
$ locate pdf | xargs -i ls -l {} | grep something
I'd like to scroll through the command by word by word rather than the default letter by letter...
Answer Snippets (Read the full thread at superuser):
The full list of keyboard shortcuts currently available for bash by issuing the command:
bind -P.
|
|
Hi, Is there any way to open the command prompt and change directory in the command prompt and run the batch file in the same command prompt using java.
I know how to open the command prompt using java. Thanks,
Answer Snippets (Read the full thread at stackoverflow):
It's difficult to do you're really trying to do, ... .
That multiple commands separated by the command separator '&&' are accepted for string if surrounded && MySuperSuperBatchFile"
For more detail, run:
cmd /?
from the command line.
|
|
How do we extend a command to next line?
basically whats the windows alternative for linux's
ls -l \ /usr/
here we use backslash to extend command on next line
whats the equivalent for windows?
Started by Jigar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
(Like \ is used in strings.) Characters that need to be used in the command line as they....
In the Windows Command Prompt the ^ is used to escape the next character on the command line.
Desktop>
So it seems to be the ^ key.
|
|
I know this is supposed to output what kind of shell I'm using, which I think it does, because it outputs "bash-3.2", but it doesn't quite do that, because it actually changes my prompt to "bash-3.2$". What else is going on? When I do Ctrl+D, I go back...
Started by Bialecki on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
When you exit that shell, you return to the shell, so it uses a default prompt....
Running simply " $SHELL " at the command line uses the value in that variable, and then interprets it as a command -- which runs a new shell.
Variable.
|
|
I'm new to C. Here's my code:
/* Using scanf() */ #include <stdio.h> int main(void) { int iDec1, iDec2, iDec3; printf("Enter three decimals:\n"); scanf("%d,%d,%d", &iDec1, &iDec2, &iDec3); printf("Your decimals are %d, %d and %d.", iDec1, iDec2,...
Started by Pieter on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Fix, remove the commas from the string in scanf()
Try this:
#include <stdio.h> int main(void) { int iDec1, iDec2, iDec3; printf("Enter three decimals:\n"); scanf("%d %d %d", &iDec1, &iDec2, &iDec3); printf("Your decimals are %d, %d and %d.", iDec... .
|
|
What is the best way to add a menu item to Vista's explorer to start a command prompt in the current directory?
Started by gambit on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Shift+right-click as AdamB.
Shift-Right click on the folder and click on Open Command Window Here.
An elevated command (or PowerShell) prompt, see this article .
|
|
How can I use the tools included in the VS command prompt ( Programs | MS Visual Studio 2008 | Visual Studio Tools | Visual Studio 2008 Command Prompt ) from any command prompt (ie without calling vcvarsall.bat ) or program?
Started by Zenith on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The good thing about shortcut and....
I just use the Command Prompt Tools shortcut as my normal command prompt shortcut, so I've always got them anyway.
To use it from a command prompt...
Permanently for the user.
|