windows-7

wget not found by PowerShell script?

和自甴很熟 提交于 2019-12-24 23:13:24
问题 I have an old notebook with Windows 7 64-bit that executes a PowerShell script perfectly every Sunday. Unfortunately it starts to crash as soon as the load increases and I decided to get a new PC. On this PC I previously installed Windows&nbspe;10 Pro 64-bit and even here the script was executed every Sunday. Due to the update policy of Microsoft I removed Windows 10 from the new PC and installed Windows 7 64-bit. But now the same script crashes as it does not find wget : $wg = Start-Process

gawk 3.1.6-1 on Windows 7 x64 Pro gets 0 return code using system() even on failed commands

隐身守侯 提交于 2019-12-24 22:25:14
问题 I'm running gawk scripts on Windows. For a long time I've used gawk 3.1.4 on Windows XP x86 and all was OK. My environment has changed to Windows 7 x64, and now gawk 3.1.4 frequently fails with fatal errors. I've updated to latest available gawk 3.1.6-1 (https://sourceforge.net/projects/gnuwin32/files/gawk/) --> fatal errors are gone (yahoo), but a very strange behaviour I met: it cannot get non-zero return code on failing command. For example, I call print "System return test: "; system(

Adding carriage return in a map instruction in gVim

蹲街弑〆低调 提交于 2019-12-24 17:29:42
问题 After copying my .vimrc file over to windows I noticed there were a lot of problems. I fixed most of them, but I noticed anything with a <CR> command in it does not work. I just get a "ding" sound. Here is an example of one command which causes no errors, but doesn't do what it's supposed to. I just get the ding sound let mapleader = "," let g:mapleader = "," nmap <leader>w :w!<cr> Am I supposed to use something instead fo <CR> ? Note, I did google it 回答1: I see nothing wrong with your config

TortoiseSVN working copy folder with conflicts but file list is empty

…衆ロ難τιáo~ 提交于 2019-12-24 16:34:13
问题 Context : Windows 7 + TortoiseSVN + Visual Studio 2010 + VisualSVN In the windows explorer , I can see one of my folder with the little red circle (like there is a conflict). So I do: Righ click on the folder -> TortoiseSVN -> Resolved and then a window titled "resolve" appears telling me "file list is empty" So I click "Ok" and my folder is still has the red circle, When I try "Clean Up", my folder is marked as ok (green circle), but if I go to the parent directory and come back, the red

Tkinter window layering

霸气de小男生 提交于 2019-12-24 16:29:23
问题 I have two Tkinter windows, How do I keep one window always on top of the other? 回答1: There isn't anything you can do AFAIK. According to the official tk documentation, ...there is no reliable way to track changes to a window's position in the stacking order. About the best you could do is to periodically raise one window above the other. I don't recommend that because it may have some really disastrous side effects (for example, making it difficult or impossible for the user to move the

How do I mark a directory to be deleted after reboot?

孤人 提交于 2019-12-24 16:01:28
问题 I've got an uninstaller that performs some actions and then prompts the user to reboot. I'd like a directory to be deleted after the reboot takes place. I know there's a way to do this, I'm just not sure how. I'm using a WiX installer, and I'd imagine I could use that to do so, somehow, but I'm open to alternatives (whatever's simplest is just fine with me). My target platform is Windows 7, though it would be nice if this worked with older versions of Windows as well. What's the simplest way

Java: Download always stalls

纵然是瞬间 提交于 2019-12-24 15:34:48
问题 Some days ago I run into a severe problem that gives me a headache: All Java based tools (Eclipse, Maven, Android SDK loader...) have problems downloading certain files: the download just stops at random. I already described my problem at Superuser but nobody was able to help me with my problem. Therefore started to perform some tests myself and ended up with the sample code at the end of this question. The interesting part is that the buffer size has an small influence on the problem. If I

Javaplot under windows 7 and gnuplot 4.6 - disappearing result

喜欢而已 提交于 2019-12-24 15:33:37
问题 I want to return to the old thing: JavaPlot and gnuplot I'm using windows 7 and I have the same problem, it means that my graph disappear immediately after the launching my simple test program: public static void main(String... args) { JavaPlot p = new JavaPlot("F:/Programs/GnuPlot/bin/pgnuplot.exe"); p.addPlot("sin(x)"); p.setPersist(true); p.plot(); } Moreover this line p.setPersist(true); does not change anything, I can use true or false and there is the same result as above. I'm using

Visual studio 2008 error ? “LNK1104 : cannot open file ”

余生颓废 提交于 2019-12-24 15:27:32
问题 Error 1 fatal error LNK1104: cannot open file 'C:\Users\hongo\Documents\VisualStudio2008\Projects\PruebaNodosLcmasmas\Debug\PruebaNodosLcmasmas.exe' PruebaNodosLcmasmas PruebaNodosLcmasmas This error happens in visual studio 2008 after I rebuild a solution too many times in little time. After that, I cannot get access to the debug/release folders for up to 3 minutes and that is really "APITA" cause I need to test new changes to the code as I am programming. Any ideas on how to fix this? I'm

Installing Ipopt and CppAD

拥有回忆 提交于 2019-12-24 13:28:40
问题 For a project in udacity, I am really stuck to install Ipopt and CppAD. Some people have asked about that but really no clear answer or actually no one found it. So my question is for someone how has the following spec: Windows 7 Visual Studio 2015+ How can he make these libraries run and work on his machine( without docker )? Any help? 来源: https://stackoverflow.com/questions/48862054/installing-ipopt-and-cppad