Question: In Windows, how can I display the startup items from using a batch file?

Answer: 
If you can use PowerShell, here is a bit of code that uses [AUTORUNSC](http://live.sysinternals.com/autorunsc.exe).

```
$autoruns = [xml](AUTORUNSC -x 2>$null)

foreach ($item in $autoruns.autoruns.item)
{
  If ($item.Description.Length -gt 0)
  { Write-Output $item.Description.Trim() }
  Else
  { Write-Output "n/a"}
  Write-Output $item.ItemName.Trim()
  Write-Output $item.imagepath.Trim()
  "---------------------------------------"
}

```

**EDIT**: The `-x` parameter on AUTORUNSC makes it output XML.
The 'All Users' doesn't seem to display whats in the MSConfig.
Is there anyway to query the registry to get the MSConfig StartUp entries?