How to run an awk commands in Windows?

If you want to avoid including the full path to awk, you need to update your PATH variable to include the path to the directory where awk is located, then you can just type awk to run your programs. Go to Control Panel->System->Advanced and set your PATH environment variable to include “C:\Program Files (x86)\GnuWin32\bin” at … Read more

Are there any better command prompts for Windows?

2019 Update: Microsoft has released the terminal app on Github & the Windows Store, and it has tabs, panels, acrylic transparency, and other features. 2016 Update: Windows 10’s default conhost UI has more features, including free resize, transparency, etc (this includes cmd & powershell) I now use ConEmu (walkthrough here) which has many features including … Read more

Changing Filename Case with TortoiseSVN on Windows

Use Rename option in Tortoise SVN from popup menu. See details here (“Moving files and folders” chapter). When you changed the case of several file names, in other words you changed file names – they have become out of version control – that’s why SVN client noticed that files that was under version control had … Read more

How to set up an SSH config-file for beginners [closed]

Generally, in Windows machine, the SSH config file stored in the following location: /c/Users/PC_USER_NAME/.ssh/ Just follow the steps in below (if you’re using the Git Bash): Go to the .ssh directory /c/Users/PC_USER_NAME/.ssh/, click right mouse button and choose “Git Bash Here” Create a file named “config” with the following command: touch config Now open the … Read more

What does ‘__COMPAT_LAYER’ actually do?

__COMPAT_LAYER, and How To Use It __COMPAT_LAYER is a system environment variable that allows you to set compatibility layers, which are the settings you can adjust when you right-click on an executable, select Properties, and go to the Compatibility tab. There are several options to choose from in addition to the one you know about: … Read more

200 PORT command successful. Consider using PASV. 425 Failed to establish connection

Try using the passive command before using ls. From FTP client, to check if the FTP server supports passive mode, after login, type quote PASV. Following are connection examples to a vsftpd server with passive mode on and off vsftpd with pasv_enable=NO: # ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 2.3.5) Name (localhost:john): anonymous 331 … Read more

Default icons for Windows applications?

For Visual Studio 2012 and 2013: The icons are not in the program folder any more. You can download the Visual Studio Image Library which contains most of the icons at http://www.microsoft.com/en-us/download/details.aspx?id=35825 It contains many icons from Visual Studio, Office,…

Variables are not behaving as expected

You are not the first, who fell into the famous “delayed expansion trap” (and you won’t be the last). You need delayed expansion if you want to use a variable, that you changed in the same block (a block is a series of commands within parentheses (and )). Delayed variables are referenced with !var! instead … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)