windows-7

How to edit hosts file via CMD? [closed]

会有一股神秘感。 提交于 2019-12-09 05:09:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Hello I'd like to block some websites directly from the command prompt. echo like this: 0.0.0.0 websitename.com How can I do this? (OS: Windows 7) 回答1: echo 0.0.0.0 websitename.com >> %WINDIR%\System32\Drivers\Etc\Hosts the >> appends the output of echo to the file. Note that there are two reasons this might not

interbase and BDE on windows 7

风流意气都作罢 提交于 2019-12-09 02:47:45
问题 OK I know this has been deprecated, and bde is older than Moses, but we have some legacy applications that have not been migrated still using bde. Has anyone been successfull in installing bde WITH the interbase sql links fully configured for windows 7 (32 and 64 bit)? I have found a many different posts and executables, but nothing conclusive. Thanks 回答1: finally found a solution that works nicely. Though i should share it download: Borland Database Engine (including SQL Links) works nicely.

Cannot access remote git repository

心不动则不痛 提交于 2019-12-09 02:13:56
问题 I created a git repo via the github website's "new button". Then I used git bash to set up my local repo and tried to pull my remote repo (it had the default README) but got an "access denied error", the same one seen in this question: Cannot push to git repository - permission denied I followed https://help.github.com/articles/set-up-git#platform-windows, even reopened a new git bash session but I still get access errors on my remote repo. I chmod 777 on my local repo so it's not a local

best way to build graph for MPEG2 transport stream

浪子不回头ぞ 提交于 2019-12-09 01:39:12
问题 on windows 7 the windows media player supports .ts files very well, in the sense that windows media player knows how to handle such files without any additional codec packs. however if I try to use graphedit to "render" a .ts file, it complains it doesnt know how to build a graph for it. what method does windows media player use to demux/decode these files? is it directshow? windows media foundation? BDA? Microsoft TV Technologies? unified tuning model? whatever the method they use, is

How to create a Windows Service in Powershell for “Network Service” account?

坚强是说给别人听的谎言 提交于 2019-12-08 23:01:32
问题 I want to create a Windows Service using Powershell. Creating it for a given user is piece of cake. I used this function adapted from here. function ReinstallService1 ($serviceName, $binaryPath, $login, $pass) { Write-Host "installing service" # creating credentials which can be used to run my windows service $secpasswd = ConvertTo-SecureString $pass -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ($login, $secpasswd) # creating widnows service using all

Windows 7 becomes unresponsive if mouse scroll wheel is used after a simulation in R

不羁的心 提交于 2019-12-08 21:40:30
问题 I am using R 3.0.2 in Windows 7 64 bit. After running simulations with an output greater than about 100000 in length, if I use the mouse scroll wheel in the R console, Windows freezes indefinitely. I once left it sitting for over a week with no response. Forcing shutdown is the only way out, and it does not register in Windows event log. I have tried to duplicate the issue in other programs, but it appears to occur only in R. I have tried several versions of R, uninstalled and reinstalled

In Windows cmd, how do I run an executable in the current directory (instead of one with the same name in %PATH%) without referring to the full path? [closed]

此生再无相见时 提交于 2019-12-08 19:17:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm trying to run an executable foobar from a directory, but Windows also happens to have an executable (or command) named foobar . In UNIX, I'd just write ./foobar but Windows cmd doesn't seem to understand that. Given that I don't want to add this directory to my %PATH% , is there another way to run the

How to test for Windows 7 platform?

笑着哭i 提交于 2019-12-08 18:58:44
问题 I have a Java app which needs to run differently when on Windows 7. How would you check which Windows version is present? Is it enough to check for OS version 6.1? 回答1: I've solved the same problem checking also for os.name , in a null-safe way: public boolean runningOnWindows7() { String osName = System.getProperty("os.name"); String osVersion = System.getProperty("os.version"); return "Windows 7".equals(osName) && "6.1".equals(osVersion); } 回答2: OS Version Numbers are rather distinct. For

Script elements written with document.write in a window opened with window.open are not executed in IE8 on Windows 7

自古美人都是妖i 提交于 2019-12-08 18:56:47
问题 I'm running into an issue that seems to only appear on Windows 7. It seemed to work fine in IE8 on a different version of Windows. Basically, I'm creating a new window with window.open(), then using document.write() to write the contents of that new window, which contains script includes. In IE, these scripts are not being executed properly. Most of the time they don't execute at all, but occasionally one of them will. This is only with a cleared cache - once the javascript files are in the

TortoiseProc launch failed Error:The requested operation requires elevation

馋奶兔 提交于 2019-12-08 18:53:54
问题 I have installed TortoiseSVN-1.6.12.20536-win32-svn-1.6.15 on Windows 7 Proffesional. TortoiseProc Launch failed :The requested operation requires elevation. Any option in the context menu gives the same error. Already troubleshoot- - uninstall and install Repair the install Checked that all exe's (including TortoiseProc) have the "run as administrator" option checked. START>RUN>CMD (enter)>[DOS PROMPT]>C:>"ipconfig /flushdns" Any ideas? 回答1: Checked that all exe's (including TortoiseProc)