Thomas
2023-01-29 03:03:31 UTC
Due to the strange ways that Windows works, all I want is to permanently
have the "Show more details" working whenever I "Run as administrator" any
given "*.bat" file that I select, en masse, to run.
Is there an option checkbox in the registry perhaps to always "Show more
details" when running a batch file as administrator in Windows 10?
A confluence of Windows peculiar traits is only why I need that option.
That is, I don't "want" that option - I just want it as a workaround.
[1] Windows, when I select a handful of files to right click and execute,
I can never tell the _order_ that those files will be executed
(as Windows has its own peculiarities on how it orders files).
[2] The batch file has to have administrator permission because it changes
the routing table but a Windows particular is that there isn't any
known way to set that user _inside_ the batch file itself, such as:
RunThisBatchFileAsAdministrator = YES
[3] Not every batch file will work (as they're running network commands)
but _one_ of those batch files will always end up working. Therefore
the problem is figuring out, after the fact, which batch file it was.
All of these issues are caused purely by Windows particular quirks which is
why I want to have "Show more details" on by default.
But what would negate the need for that would be a command that I could put
_inside_ the batch file that says "RunMeAsAdminPlease = YES" if that
exists.
Or, some way to make _all_ batch files run as Administrator, although that
has the obvious security risk so I just want to have the command inside if
I can.
But if there is no command that tells Windows to run the batch file as
administrator, then at least tell me which of the many batch files it was.
have the "Show more details" working whenever I "Run as administrator" any
given "*.bat" file that I select, en masse, to run.
Is there an option checkbox in the registry perhaps to always "Show more
details" when running a batch file as administrator in Windows 10?
A confluence of Windows peculiar traits is only why I need that option.
That is, I don't "want" that option - I just want it as a workaround.
[1] Windows, when I select a handful of files to right click and execute,
I can never tell the _order_ that those files will be executed
(as Windows has its own peculiarities on how it orders files).
[2] The batch file has to have administrator permission because it changes
the routing table but a Windows particular is that there isn't any
known way to set that user _inside_ the batch file itself, such as:
RunThisBatchFileAsAdministrator = YES
[3] Not every batch file will work (as they're running network commands)
but _one_ of those batch files will always end up working. Therefore
the problem is figuring out, after the fact, which batch file it was.
All of these issues are caused purely by Windows particular quirks which is
why I want to have "Show more details" on by default.
But what would negate the need for that would be a command that I could put
_inside_ the batch file that says "RunMeAsAdminPlease = YES" if that
exists.
Or, some way to make _all_ batch files run as Administrator, although that
has the obvious security risk so I just want to have the command inside if
I can.
But if there is no command that tells Windows to run the batch file as
administrator, then at least tell me which of the many batch files it was.