In Window 3.1 autoexec.bat was one of the few choices of executing any app at boot time. But its importance has gradually thinned. It is still supported but you can pretty much do without it for most part. If you do not need to parse the autoexec.bat (there may not be anything in it anyway !), you can tell Windows XP to do that. Open registry by going to START-RUN and entering regedit. Navigate to

[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon] .

In this look for value of "ParseAutoexec". If available, do one of the following:

If you want to disable parsing of autoexec.bat, set its value to 0.
If you want to enable parsing of autoexec.bat, set its value to 1.