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
232
votes
14 answers

Objective-C for Windows

What would be the best way to write Objective-C on the Windows platform? Cygwin and gcc? Is there a way I can somehow integrate this into Visual Studio? Along those lines - are there any suggestions as to how to link in and use the Windows SDK for…
Luther Baker
  • 7,236
  • 13
  • 46
  • 64
232
votes
91 answers

Hidden features of Windows batch files

What are some of the lesser know, but important and useful features of Windows batch files? Guidelines: One feature per answer Give both a short description of the feature and an example, not just a link to documentation Limit answers to native…
Chris Noe
  • 36,411
  • 22
  • 71
  • 92
231
votes
9 answers

PowerShell: Setting an environment variable for a single command only

On Linux, I can do: $ FOO=BAR ./myscript to call "myscript" with the environment variable FOO being set. Is something similar possible in PowerShell, i.e. without having to first set the variable, call the command, and then unset the variable…
miracle2k
  • 29,597
  • 21
  • 65
  • 64
228
votes
8 answers

How to See the Contents of Windows library (*.lib)

I have a binary file - Windows static library (*.lib). Is there a simple way to find out names of the functions and their interface from that library ? Something similar to emfar and elfdump utilities (on Linux systems) ?
Nick Borodulin
  • 3,065
  • 4
  • 21
  • 21
228
votes
0 answers

iPhone development on Windows

Possible Duplicate: How can I develop for iPhone using a Windows development machine? Is there a way to develop iPhone (iOS) applications on Windows? I really don't want to get yet another machine. There is a project on…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
227
votes
10 answers

Git clone / pull continually freezing at "Store key in cache?"

I'm attempting to clone a repo from my BitBucket account to my Windows 10 laptop (running GitBash). I've completed all of the steps necessary to connect (set up my SSH key, verified by successfully SSHing git@bitbucket.org, etc). However, whenever I…
MarathonStudios
  • 2,849
  • 4
  • 20
  • 18
227
votes
27 answers

How to keep a Python script output window open?

I have just started with Python. When I execute a python script file on Windows, the output window appears but instantaneously goes away. I need it to stay there so I can analyze my output. How can I keep it open?
rohitmishra
  • 8,739
  • 7
  • 33
  • 34
226
votes
8 answers

Best lightweight web server (only static content) for Windows

I got application server running in Windows – IIS6.0 with Zend Server to execute PHP. I am looking for lightweight static content only web server on this same machine which will relive IIS form handling static content and increase performance. It…
bensiu
  • 24,660
  • 56
  • 77
  • 117
226
votes
6 answers

How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?

I have some code like: testVar = { a: 1 }; testVariable1 = 2; var c = testVar.a + testVariable2; var d = testVar; I want to rename "testVar" variable. When I set multiple cursors with Ctrl+D and edit variable, "testVariable" is also selected and…
Just_Mad
  • 4,029
  • 3
  • 22
  • 30
225
votes
7 answers

Setting a system environment variable from a Windows batch file?

Is it possible to set a environment variable at the system level from a command prompt in Windows 7 (or even XP for that matter). I am running from an elevated command prompt. When I use the set command (set name=value), the environment variable…
Santhosh
  • 6,547
  • 15
  • 56
  • 63
224
votes
14 answers

Why git can't remember my passphrase under Windows

I have just start using git and i can't get it to remember my passphrase I'm using cmd.exe elevated and my git host is github and i have create a ssh key like that guide on github but i still get *\subnus.mvc>git push origin master Enter…
Nesizer
  • 3,074
  • 6
  • 22
  • 25
224
votes
6 answers

What's the fastest way to delete a large folder in Windows?

I want to delete a folder that contains thousands of files and folders. If I use Windows Explorer to delete the folder it can take 10-15 minutes (not always, but often). Is there a faster way in Windows to delete folders? Other details: I don't…
BrezzaP
  • 2,463
  • 3
  • 15
  • 10
223
votes
30 answers

Sublime Text from Command Line

I installed Sublime Text and wanted to know how to open rb files in it from the terminal. I saw What is the command to make Sublime Text my core editor? and I see that I can make Sublime my core editor, but I want to be able to type sublime…
mehulkar
  • 4,895
  • 5
  • 35
  • 55
223
votes
25 answers

How to run a PowerShell script without displaying a window?

How is it possible to run a PowerShell script without displaying a window or any other sign to the user? In other words, the script should run quietly in the background without any sign to the user. Extra credit for an answer that does not use third…
Thomas Bratt
  • 48,038
  • 36
  • 121
  • 139
218
votes
29 answers

XAMPP - Port 80 in use by "Unable to open process" with PID 4! 12

I've tried deleting skype but that didn't work, I've tried turning off the world wide web thing off, IIS off nothing seems to work. 12:51:22 PM [Apache] Problem detected! 12:51:22 PM [Apache] Port 80 in use by "Unable to open process" with PID…
user3097839
  • 2,191
  • 3
  • 12
  • 4