Creating a .bat file

(imported topic written by brady_admin91)

Can anyone point me to documentation for creating .bat files?

I am trying to write a task which will create login.bat in C:\Documents and Settings\All Users\Start Menu\Programs\Startup.

Thank you.

(imported comment written by NoahSalzman)

For an example of how to create a file with BigFix, check out this post:

http://forum.bigfix.com/viewtopic.php?pid=10242#p10242

(imported comment written by NoahSalzman)

(Responding to off-list email.)

Here is the ActionScript that will create a login.bat file.

delete c:\Documents and Settings\All Users\Start Menu\Programs\Startup\login.bat

delete __appendfile

appendfile @ECHO OFF

appendfile blah blah blah…

appendfile blah blah blah…

move __appendfile c:\Documents and Settings\All Users\Start Menu\Programs\Startup\login.bat