Como você pergunta se há algum método que possa fazer isso com um script em vez de precisar ser feito manualmente, incluí um script em lote e um script VB que você pode usar para definir essas configurações. para fazer o contrário usando sendkeys para emular o pressionamento das teclas de atalho File Explorer Teclado Alt mais alguns outros traços de tecla de teclado emulados e tal.
Script em lote
IF NOT DEFINED MINIMIZED SET MINIMIZED=1 && START "" /MIN "%~dpnx0" %* && EXIT
@ECHO OFF
SET TempVBSFile=%temp%\~tmpSendKeysTemp.vbs
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%"
ECHO Set WshShell = WScript.CreateObject("WScript.Shell") >>"%TempVBSFile%"
ECHO Wscript.Sleep 900 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "%%vyo" >>"%TempVBSFile%"
ECHO Wscript.Sleep 1500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "{TAB 9}{RIGHT}{TAB}{ENTER}" >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "{ENTER}" >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "{ESCAPE}" >>"%TempVBSFile%"
CSCRIPT //nologo "%TempVBSFile%"
EXIT /B
Script VB
Set WshShell = WScript.CreateObject("WScript.Shell")
Wscript.Sleep 900
WshShell.SendKeys "%vyo"
Wscript.Sleep 1500
WshShell.SendKeys "{TAB 9}{RIGHT}{TAB}{ENTER}"
Wscript.Sleep 500
WshShell.SendKeys "{ENTER}"
Wscript.Sleep 500
WshShell.SendKeys "{ESCAPE}"
Instructions
Navigate to a folder with File Explorer and then sort by the applicable column which you want to apply to all folders via File Explorer.
Copy either the VBS or the batch script to this folder and then simple double click to execute either and the rest will be fully automated from there.
Essentially it'll press
Alt
,V
,Y
,O
, wait for 1.5 seconds, then pressTab
9 times,→
Tab
Enter
, wait half a second then pressEnter
, wait half a second and finally pressEsc
to close the Folder Options window.