ms speech from command line

My 2 cents on the topic, command line one-liners: on Win using PowerShell.exe PowerShell -Command “Add-Type –AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak(‘hello’);” on Win using mshta.exe mshta vbscript:Execute(“CreateObject(“”SAPI.SpVoice””).Speak(“”Hello””)(window.close)”) on OSX using say say “hello” Ubuntu Desktop (>=2015) using native spd-say spd-say “hello” on any other Linux refer to How to text-to-speech output using command-line? commandline function using … Read more

Cmd crashes with exit code 1 after uninstalling anaconda

The following answer was (supposedly) initially posted (but later removed) by @Mofi and I got it from the comment of @filippo-vicari. So all credits go to them, thanks for solving this issue! It took me hours to finally find their solution. Enter the following command into the still working powershell (in my case Anaconda Powershell): … Read more

Correct quoting for cmd.exe for multiple arguments

Note the “” at the beginning and at the end! Run a program and pass a Long Filename cmd /c write.exe “c:\sample documents\sample.txt” Spaces in Program Path cmd /c “”c:\Program Files\Microsoft Office\Office\Winword.exe”” Spaces in Program Path + parameters cmd /c “”c:\Program Files\demo.cmd”” Parameter1 Param2 Spaces in Program Path + parameters with spaces cmd /k “”c:\batch … Read more

Unzip files (7-zip) via cmd command

Doing the following in a command prompt works for me, also adding to my User environment variables worked fine as well: set PATH=%PATH%;C:\Program Files\7-Zip\ echo %PATH% 7z You should see as output (or something similar – as this is on my laptop running Windows 7): C:\Users\Phillip>set PATH=%PATH%;C:\Program Files\7-Zip\ C:\Users\Phillip>echo %PATH% C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program … Read more

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