Questions tagged [windows]

Writing software specific to the Microsoft Windows operating system: APIs, behaviours, etc. GENERAL WINDOWS SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com

General support questions for Windows should be asked on Super User

Windows is a family of graphical operating systems developed by Microsoft for server, client, and mobile platforms.

Recent Versions

  • Windows 10 was released on July 29, 2015.

  • Windows 8.1, the first significant update to Windows 8, was released on October 17, 2013.

  • Windows 8, the successor to Windows 7, was released to the market on October 26, 2012. It was designed to be used on both tablets and conventional PCs.

Specific Version Tags

If your question relates to using Windows APIs or Windows-specific behavior with a particular version of Windows, use the tag for that particular version – for example:

Other Related Tags

Resources

166791 questions
45
votes
4 answers

Error: spawn npm ENOENT

I have an JS app. It works good on linux but in windows 10 I am getting an error. events.js:161 throw er; // Unhandled 'error' event ^ Error: spawn npm ENOENT at exports._errnoException (util.js:1028:11) at…
Armen Sanoyan
  • 1,898
  • 2
  • 19
  • 32
45
votes
9 answers

Where is the dotnet command executable located on Windows?

I am exploring the new Entity Framework Core (NOT in conjunction with ASP.Net, what I am coding is just a WinForms app) and found some tutorials mentioning a dotnet command line command needed to create "migrations". When I try it, however, it says…
Ivan
  • 63,011
  • 101
  • 250
  • 382
45
votes
10 answers

reading an application's manifest file?

Is there an easy way to read an application's already embedded manifest file? I was thinking along the lines of an alternate data stream?
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
45
votes
14 answers

Find Programming Language Used

Whats the easiest way to find out what programming language an application was written in? I would like to know if its vb or c++ or delphi or .net etc from the program exe file.
veagles
  • 505
  • 1
  • 5
  • 8
45
votes
3 answers

Get error code from within a batch file

I have a batch file that runs a couple executables, and I want it to exit on success, but stop if the exit code <> 0. How do I do this?
Dlongnecker
  • 3,008
  • 3
  • 25
  • 40
45
votes
3 answers

CMake -G Ninja on Windows specify x64

I am using CMake on Windows with Ninja generator cmake -G Ninja .. This uses the default Windows x86 toolchain. How to specify x64 using the Ninja generator? PS: I know how to generate x64 with Visual Studio cmake -G "Visual Studio 12 2013 Win64…
xren
  • 1,381
  • 5
  • 14
  • 29
45
votes
4 answers

Can I set an environment variable for an application using a shortcut in Windows?

I have a feeling I should be able add a directory to the PATH environment variable on an application-lifetime basis, but I can't find out how to do this. Is it possible to add a parameter to a Windows shortcut that appends a directory to the current…
user366203
  • 453
  • 1
  • 4
  • 4
45
votes
2 answers

Where is the Chocolatey installation path?

I am looking to find out the current Chocolatey installation path using PowerShell.
user284244
45
votes
4 answers

Standard Windows menu bars in Windows Forms

I noticed that adding a MenuStrip (from the Toolbox) to my form design doesn't yield a menu bar like the one seen in many native Windows applications. Instead I get a menu bar like Visual Studio's own. None of the style settings for MenuStrip appear…
BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
45
votes
11 answers

How can we stop a running java process through Windows cmd?

I am a newbie in cmd, so please allow me to ask a stupid question: How can we stop a running Java process through Windows cmd? For example, if we start Jetty (a mini web server) with the following command: start javaw -jar start.jar How do we find…
Winston Chen
  • 6,799
  • 12
  • 52
  • 81
45
votes
6 answers

Running Cython in Windows x64 - fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory

I have been trying to install Cython for Python 2.7 on my Window 7 system. In particular, I prefer everything in 64 bits. (In case you wonder, I need Cython because Cython is one of the components I need for another package for some specialized…
Argyll
  • 8,591
  • 4
  • 25
  • 46
45
votes
14 answers

protractor/selenium "could not find chromedriver at" (on Windows)

I installed protractor following this tutorial and when i use webdriver-manager update it says: selenium standalone is up to date. chromedriver is up to date. thou when i try to run the protractor tests, it…
Andresch Serj
  • 35,217
  • 15
  • 59
  • 101
45
votes
8 answers

How can I bold the fonts of a specific row or cell in an Excel worksheet with C#?

I am exporting data from a List<> to excel. I want to make some specific rows and cells bold. I need to make some cell merged also. Below is the code I am using. try { Excel.Application application; Excel.Workbook…
user1665707
  • 615
  • 3
  • 11
  • 24
45
votes
9 answers

Why does the Windows registry exist?

this is more OS architecture question than programming directly, but still. Why was the Windows registry created as a completely separate subsystem for storing system/application settings? In *nix OS'es there is /etc directory which is perfectly…
justadreamer
  • 2,410
  • 2
  • 21
  • 24
45
votes
6 answers

The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'

Few days ago I had quite a headache with authentication problems when using Windows authentication between client and wcf web service. The error I was getting was "The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The…
VidasV
  • 4,335
  • 1
  • 28
  • 50
1 2 3
99
100