From: V@nguard.LH   
      
   T wrote:   
      
   > W11 25H2   
   >   
   > Anyone know how I can run   
   >   
   > "control panel\All Control Panel Items\Devices and Printers"   
   >   
   > from the command line?   
      
   Maybe use the old-style Control Panel shortcut of:   
      
   rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder   
      
   or   
      
   shell:printersfolder   
   (in File Explorer address bar,   
   or a shortcut to "explore.exe shell:printersfolder")   
      
   Andy gave the shell directive with Class ID to open the Control Panel   
   page. You can enter that into the address bar of File Explorer, in the   
   Run Dialog (Win+R), or use a shortcut to run:   
      
   explorer.exe shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}   
      
   In Powershell, use:   
      
   Start-Process -FilePath “control.exe” -ArgumentList “printers”   
   or   
   Start-Process "explorer.exe" "shell:PrintersFolder"   
      
   Those work in Windows 10, and probably in Windows 11, too.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|