intl extension: installing php_intl.dll

For the php_intl.dll extension to work correctly, you need to have the following files in a folder in your PATH: icudt36.dll icuin36.dll icuio36.dll icule36.dll iculx36.dll icutu36.dll icuuc36.dll By default they’re sitting in your PHP directory, but that directory isn’t necessarily in your PATH (it wasn’t for me, using xampp) This has to be in your … Read more

How to loop through files matching wildcard in batch file

Assuming you have two programs that process the two files, process_in.exe and process_out.exe: for %%f in (*.in) do ( echo %%~nf process_in “%%~nf.in” process_out “%%~nf.out” ) %%~nf is a substitution modifier, that expands %f to a file name only. See other modifiers in https://technet.microsoft.com/en-us/library/bb490909.aspx (midway down the page) or just in the next answer.

Output Unicode to console Using C++, in Windows

What about std::wcout ? #include <iostream> int main() { std::wcout << L”Hello World!” << std::endl; return 0; } This is the standard wide-characters output stream. Still, as Adrian pointed out, this doesn’t address the fact cmd, by default, doesn’t handle Unicode outputs. This can be addressed by manually configuring the console, like described in Adrian’s … Read more

Launching an application (.EXE) from C#?

Here’s a snippet of helpful code: using System.Diagnostics; // Prepare the process to run ProcessStartInfo start = new ProcessStartInfo(); // Enter in the command line arguments, everything you would enter after the executable name itself start.Arguments = arguments; // Enter the executable to run, including the complete path start.FileName = ExeName; // Do you want … Read more