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

Answer: 
Your startup items are a combination of your own items and the "All Users" items. You can find your own with:

```
dir "%homedrive%%homepath%\start menu\progams\startup"

```

and the "All Users" ones (usually) with:

```
dir "%homedrive%%homepath%\..\all users\start menu\progams\startup"

```

All you have to do is manipulate the file names to remove the path and the ".lnk" at the end to get the shortcut names.

If you `cd` to those directories first and just do dir, you won't even have to remove the path.

**UPDATE:**

If, as your comments seem to indicate, you want all things that start when your system starts, they're found all over the place. You'll want to get a copy of [Autoruns](http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx) (or its command-line brother, Autorunsc, for your purposes).

This is the best approach since it's "blessed" by Microsoft themselves.
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?