Pop,
A nice easy solution for you.
Save the file as foobar.txt in notepad, then use Explorer, or even DOS

, to rename the file as autorun.inf.
If notepad is objecting to the word [autorun] in the file, you could try using the DOS echo command redirected to a file.
echo [autorun] >>fred.txt
type fred.txt
fred
Hope that helps.