Questions tagged [windows]

Writing software specific to the Microsoft Windows operating system: APIs, behaviors, 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 major 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

150194 questions
497
votes
10 answers

Create folder with batch but only if it doesn't already exist

Can anybody tell me how to do the following in in a Windows batch script? (*.bat): Create a folder only if it doesn't already exist In more detail, I want to create a folder named VTS on the C:\ drive, but only if that folder doesn't already…
Bill
  • 4,971
  • 2
  • 13
  • 3
491
votes
11 answers

Graphviz: How to go from .dot to a graph?

I can't seem to figure this out. I have a .dot file, which is valid according to the syntax. How do I use graphviz to convert this into an image? (note that I'm on Windows, not linux)
Nick Heiner
  • 108,809
  • 177
  • 454
  • 689
481
votes
45 answers

pip install fails with "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)"

I am very new to Python and trying to > pip install linkchecker on Windows 7. Some notes: pip install is failing no matter the package. For example, > pip install scrapy also results in the SSL error. Vanilla install of Python 3.4.1 included pip…
Jeremy Cook
  • 17,434
  • 9
  • 66
  • 71
476
votes
20 answers

'git' is not recognized as an internal or external command

I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, I get the following error: 'git' is not recognized as an internal or external command, operable program or batch file. How do I fix this problem?
Jason Kim
  • 15,110
  • 12
  • 60
  • 97
470
votes
31 answers

TortoiseSVN icons not showing up under Windows 7

I can't seem to get the icons to display under Windows 7 and I really miss this from Windows XP. How can it be fixed?
Lodle
  • 28,027
  • 19
  • 59
  • 89
465
votes
15 answers

How do I manually create a file with a . (dot) prefix in Windows? For example, .htaccess

I want to create a .htaccess file manually and discovered it seems impossible through the Windows UI. I get a "you must type a filename." message. There has to be a way to create files with . as a prefix in Windows. Can this be done manually?
Doug Chamberlain
  • 10,801
  • 9
  • 46
  • 90
445
votes
13 answers

How to get list of arguments?

I'd like to find a Windows batch counterpart to Bash's $@ that holds a list of all arguments passed into a script. Or I have to bother with shift?
wheleph
  • 7,107
  • 7
  • 33
  • 53
440
votes
7 answers

Is there a /dev/null on Windows?

What is the equivalent of /dev/null on Windows?
Ove S
  • 4,675
  • 2
  • 15
  • 7
439
votes
13 answers

In Windows cmd, how do I prompt for user input and use the result in another command?

I have a Windows .bat file which I would like to accept user input and then use the results of that input as part of the call to additional commands. For example, I'd like to accept a process ID from the user, and then run jstack against that ID,…
marc
432
votes
12 answers

How to create .pfx file from certificate and private key?

I need .pfx file to install https on website on IIS. I have two separate files: certificate (.cer or pem) and private key (.crt) but IIS accepts only .pfx files. I obviously installed certificate and it is available in certificate manager (mmc) but…
jlp
  • 7,992
  • 15
  • 47
  • 70
431
votes
18 answers

What characters are forbidden in Windows and Linux directory names?

I know that / is illegal in Linux, and the following are illegal in Windows (I think) * . " / \ [ ] : ; | , What else am I missing? I need a comprehensive guide, however, and one that takes into account double-byte characters. Linking to outside…
Jeff
  • 12,441
  • 15
  • 46
  • 58
431
votes
26 answers

A Windows equivalent of the Unix tail command

I'm looking for the equivalent of the Unix 'tail' command that will allow me to watch the output of a log file while it is being written to.
Liam
  • 7,094
  • 3
  • 23
  • 26
420
votes
10 answers

Reminder - \r\n or \n\r?

I just can't remember those. So, what is the right way to properly terminate old fashioned ASCII lines?
Daniel Mošmondor
  • 19,070
  • 12
  • 53
  • 95
419
votes
34 answers

'pip' is not recognized as an internal or external command

I'm running into a weird error when trying to install Django on my computer. This is the sequence that I typed into my command line: C:\Python34> python get-pip.py Requirement already up-to-date: pip in c:\python34\lib\site-packages Cleaning…
user3597950
  • 6,903
  • 6
  • 23
  • 33
415
votes
11 answers

Why does the 260 character path length limit exist in Windows?

I have come up against this problem a few times at inopportune moments: Trying to work on open source Java projects with deep paths Storing deep Fitnesse wiki trees in source control An error trying to use Bazaar to import my source control…
Jeffrey Cameron
  • 9,127
  • 10
  • 42
  • 76