Bart van den Donk

Results 17 comments of Bart van den Donk

The following works for starting Windows Terminal with different user: runas /user:[[email protected]] "C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.16.10262.0_x64__8wekyb3d8bbwe\wt.exe" Use Double Quotes when you want to make a link: C:\Windows\System32\runas.exe /user:[[email protected]] "C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.16.10262.0_x64__8wekyb3d8bbwe\wt.exe" You can...

I would prefer: `if ($TestBool -eq $True) {` ` Write-Output '$TestBool is TRUE.'` `} elseif ($TestBool -eq $False) {` ` Write-Output '$TestBool is FALSE.'` `} else {` ` Write-Output '$TestBool...

There are at least 4 ways to install Pwsh on Windows: From MSStore, via MSI, via Winget and Unzipping the download. Which one did you use @giggio ? https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4

> Well, that makes sense, since that snippet is for handling cases where you are trying to load your OMP config from a path with non-ASCII characters, without keeping the...

In Pwsh I do: `[xml]$a = Get-Content .\[filename].xml` So your var should be some xml variable upfront. In .Net, C# something like: ``` internal static void ReadXMLFileUsingXMLDocument() { XmlDocument xmlDcoument...

Could it be that this code hiyacks the cursor and left me unable to use normal keys? I suddenly coudn't use ')' anymore and than things got even wurse... So...

Is this like difference between: `if ($a -eq $null) {#}` and `if ($null -eq $a ) {#}`

The normal way to approach this, is to make a distinction between saving and displaying data. MM/DD/YYYY or DD/MM/YYYY is purly for Display. It shouldn't be used for saving a...

This is normal SQLite behaviour. In the documentation it says that it is not supposed to work with more than 1 proces action on the file. (There is no server...

[https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/integral-numeric-types](url) These are alias for IntPtr and UIntPtr... The native-sized integer types are represented internally as the .NET types [System.IntPtr](https://learn.microsoft.com/en-us/dotnet/api/system.intptr) and [System.UIntPtr](https://learn.microsoft.com/en-us/dotnet/api/system.uintptr). Starting in C# 11, the nint and nuint...