Gotcha. Here's the whole codes
+ You should ignore some PowerShell errors. It is some kind of NotImplementedError 😐
@echo off
wt cmd /k
Title [230622] Windows 11 Automatic Optimization and Settings
:: echo highlighting
for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
:: BatchGotAdmin...
I implemented that in batch file but it seems like broken.
What I'm now trying is batch codes are continuosly working in the Windows terminal. Double-clicking or selecting "Open in Administrator Mode" in context menu opens Command Prompt with administrator mode.
I made a batch file to set up my computers, and using BatchGotAdmin, I also made it run automatically in administrator mode.
but this is issue or my hope, Windows automatically run Terminal and then Command Prompt in administrator mode.
this is it.
is there a method to allow Windows Terminal...