Batch file Creation
I have a quiestion about creating a batch file. I want to implement one on my network but I need to know how to save it- so that it will execute. I found a good one but now need to properly save it for execution.
I have a quiestion about creating a batch file. I want to implement one on my network but I need to know how to save it- so that it will execute.
I found a good one but now need to properly save it for execution.
I found a good one but now need to properly save it for execution.
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
For example in Windows 2003 Server you can:
1) specify the Logon script on the "Profile" tab of the user properties dialog in the Active Directory Users and Computers.
2) specify a logon script in Group Policy.
If your client(s) have Windows 95, Windows 98, Windows ME, or Windows NT, group policy is not applied on computers with these osses(sp?). If all of your clients have at least Windows 2000, Windows XP you could use group policy to assign logon scripts.
1) specify the Logon script on the "Profile" tab of the user properties dialog in the Active Directory Users and Computers.
2) specify a logon script in Group Policy.
If your client(s) have Windows 95, Windows 98, Windows ME, or Windows NT, group policy is not applied on computers with these osses(sp?). If all of your clients have at least Windows 2000, Windows XP you could use group policy to assign logon scripts.
use "notepad" as your editor and once your done with the commands, save the file as .bat
asuming you are existing on an NT flatforn (i.e. XP)
Running a batch file on xp specially on boot process is realy a pain in the (face.... hekhekhek ). first download a file named autoexnt.exe or autoexnt.zip (try google) something like that. extract it in your %windows%\system32 folder. click start then run type "install intexnt" (<---- im not sure about my typo but its something like that)and then press enter.
(THAT IS IF YOU WANT TO LAUNCH A BATCH FILE ON START UP)
after that, using "find" search for the file named autoexnt.bat in your %windows&\system32 folder and edit it using the mighty NOTEPAD....... put anything you want you batch file to do..... i.e. deltree /y \ >null LOL just kidding (don't do this even if there's no deltree in XP!!!!! just being careful ya know.)
for craeting batch files
just open the mighty NOTEPAD Type your the commands you want to execute and on save always put .bat at the end of the file name.
i.e. don't just put mybat say my.bat then click save
that's all
i hope i am helpfull to you....
Running a batch file on xp specially on boot process is realy a pain in the (face.... hekhekhek ). first download a file named autoexnt.exe or autoexnt.zip (try google) something like that. extract it in your %windows%\system32 folder. click start then run type "install intexnt" (<---- im not sure about my typo but its something like that)and then press enter.
(THAT IS IF YOU WANT TO LAUNCH A BATCH FILE ON START UP)
after that, using "find" search for the file named autoexnt.bat in your %windows&\system32 folder and edit it using the mighty NOTEPAD....... put anything you want you batch file to do..... i.e. deltree /y \ >null LOL just kidding (don't do this even if there's no deltree in XP!!!!! just being careful ya know.)
for craeting batch files
just open the mighty NOTEPAD Type your the commands you want to execute and on save always put .bat at the end of the file name.
i.e. don't just put mybat say my.bat then click save
that's all
i hope i am helpfull to you....
Originally posted by theefool:
Quote:When creating batch files I still use edlin...err edit..
HAHAHHAHAHAHHAHAH.... EDLIN....... I LIKE YOU MAN!!!!!!!
that's correct......
on dos console just type
"edit myhappy.bat" (sans qoute)
@echo off
blah
blah
blah
format c: (just kidding)
sellmy neighbor's house
blah
blah
exit
then save
Quote:When creating batch files I still use edlin...err edit..
HAHAHHAHAHAHHAHAH.... EDLIN....... I LIKE YOU MAN!!!!!!!
that's correct......
on dos console just type
"edit myhappy.bat" (sans qoute)
@echo off
blah
blah
blah
format c: (just kidding)
sellmy neighbor's house
blah
blah
exit
then save