command-prompt

How do I tell MSTEST to run all test projects in a Solution?

老子叫甜甜 提交于 2019-12-21 03:17:22
问题 I need to know how to tell MSTEST to run all test projects in a solution file. This needs to be done from the command line. Right now I have to pass it a specific project file, I'm trying to get it to run from a SOLUTION file. I'm hoping this is possible, because in Visual Studio, hitting Ctrl+R, A, runs ALL tests in the currently opened solution. The way I've interpretted the help files, you have to pass in each DLL specifically. I want to run this from the command line from my CruiseControl

How do I type a TAB character in PowerShell?

廉价感情. 提交于 2019-12-20 17:32:40
问题 Task : By default, pressing the TAB key while in Windows Command Prompt will output file names, while it does nothing in PowerShell. I want to be able to type the TAB character in interactive mode, not via scripts. Research : I found similar questions on this site and via Google search. Solutions found were addressing bash (Mac) or iterm (Linux), or suggested changing to another program such as TweakUI. My question is specific to Windows PowerShell or Command Prompt. Clarification : A simple

ZSH RPROMPT weird spacing?

天大地大妈咪最大 提交于 2019-12-20 10:58:32
问题 Here is my ZSH prompt theme function git_prompt_info() { ref=$(git symbolic-ref HEAD 2> /dev/null) || return echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX" } PROMPT='$fg[yellow]%}⚡︎ $fg[cyan]%~ $(git_prompt_info) %{$reset_color%}→ ' ZSH_THEME_GIT_PROMPT_PREFIX="[git:" ZSH_THEME_GIT_PROMPT_SUFFIX="]$reset_color" ZSH_THEME_GIT_PROMPT_DIRTY="$fg[red]+" ZSH_THEME_GIT_PROMPT_CLEAN="$fg[green]" RPROMPT='%T' Which looks like When I move the $(git

Modify font size when print out to screen

对着背影说爱祢 提交于 2019-12-20 03:27:05
问题 I'm using Win XP and Python 2.5. Is there a way in Python to modify font size when print to CMD window? 回答1: You can use ctypes to access the necessary windows calls to change the font (including the size of the font) of the console. See my answer to another question for a code example. 回答2: You should create a desktop link to cmd.exe and set/change the layout properties (e.g. to window size 120*40 or appropriate). Start your program in this console windows (python.exe yourprogram.py). 回答3:

How do I prompt the user to select the file, when using macro to import a data file into a new tab?

这一生的挚爱 提交于 2019-12-20 03:10:24
问题 I have a macro that is currently creates a new sheet, and imports another excel file into this new sheet. Data from this sheet is than pulled into other areas of the workbook. The file that is being imported will constantly have a different file name. How do I adjust the below code to prompt the user to select the file? (The directory will not change). Sub ImportDemand() Sheets.Add Sheets(2).Select Sheets(2).Name = "ImportedDemand" Range("E42").Select With ActiveSheet.QueryTables.Add

What is the name and reason for the [1] at the output prompt?

有些话、适合烂在心里 提交于 2019-12-20 01:05:51
问题 What's the name for the [1] below. What is its significance? Is it always only [1] ? If not, then under what conditions is it something else? (example please) > bb <- c(5,6,7) > bb [1] 5 6 7 回答1: It shows the count of the variables. In your case, it shows bb <- c(5,6,7) > bb # [1] 5 6 7 Try, c(1:50) #[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 #[35] 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 You can also avoid that being displayed by

What is the name and reason for the [1] at the output prompt?

扶醉桌前 提交于 2019-12-20 01:05:07
问题 What's the name for the [1] below. What is its significance? Is it always only [1] ? If not, then under what conditions is it something else? (example please) > bb <- c(5,6,7) > bb [1] 5 6 7 回答1: It shows the count of the variables. In your case, it shows bb <- c(5,6,7) > bb # [1] 5 6 7 Try, c(1:50) #[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 #[35] 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 You can also avoid that being displayed by

create new visual studio project, add files and run it - command line

可紊 提交于 2019-12-19 09:07:16
问题 is there any way to create a new visual studio project without using IDE, Instead use command prompt?? I am working on a project which will generate small C++ program, so i want to create a new project, add that C++ file to that project, compile and run it, all using command prompt (batch file) only.. so could anyone please let me know how to do this.. Thanks in advance.. 回答1: Let CMake make your project files for you. It uses a much more legible syntax, and you can also generate project

IPython - single line spacing possible?

隐身守侯 提交于 2019-12-19 05:51:20
问题 By default, the IPython shell shows a blank line between inputs: In [1]: 1 + 1 Out[1]: 2 In [2]: import math In [3]: math.sqrt(2) Out[3]: 1.4142135623730951 In [4]: Is there any way to configure the IPython shell so that it does not produce a blank line between each command history? This would significantly increase the amount of history I would be able to see on my screen. 回答1: I'm working on Windows, Alok's excerp didn't differ from the default content of these three lines in my

Can I change the prompt in MATLAB?

大城市里の小女人 提交于 2019-12-19 05:19:12
问题 I never work with the GUI and am always inside a terminal (also full screen, so no title bar) set with the -nodesktop -nodisplay option. I also have different servers that I connect to, to run matlab and each of those have different restrictions on hogging computational resources. Since it's hard to remember which server I'm in,especially if I have multiple sessions open, I was wondering if I could change the prompt to display the server name. Try as I might, I couldn't find a resource that