Powershell/cmd all the same to me. I don't really get into that side of things. I've dabbled a little, very rarely though.
But thanks for the code, much appreciated.
Just curious though, why not use a .bat file seeing as the parameter for closing the app is the same? Is it just because it's safer than using a .bat file?
sl23 wrote: ↑July 31st, 2021, 12:30 pm
Powershell/cmd all the same to me. I don't really get into that side of things. I've dabbled a little, very rarely though.
But thanks for the code, much appreciated.
Just curious though, why not use a .bat file seeing as the parameter for closing the app is the same? Is it just because it's safer than using a .bat file?
No, a .bat file is ok. Just seems kinda pointless to have to include an external file, when there is really no need.
As far as Powershell, nothing to be afraid of really. It's a nice, reasonably easy command language. The reason I say it is the future, and cmd.exe is the past, is that Windows itself is going to be pushing it as the default command window.
If you look at the right-click menu of Start in Windows 11, you will see that it only offers Window Terminal, which by default opens up with a Powershell interface. You can get to cmd.exe in it, but it's an extra step.
1.jpg
2.jpg
You do not have the required permissions to view the files attached to this post.
I think the only reason I avoid cmd/powershell is due to it's ability to ruin your PC! But also, I just haven't had the need to use it, except when a PC breaks! I even tried Linux Mint once, but found it buggy as hell and I missed my windows apps and integration too much
Btw, that code worked a treat, thank you. Now I just need to figure out how to get it working in my skin!