Create a text file on your desktop called whatever you like.
Type the following into the text file:
@echo off
caf setserveraddress servername
Save the file and close it.
Rename the file from "whatever.txt" to "whatever.bat"
put it where you need to on the server and do what you need to with the GPO.
Hope that helps.
Main Topics
Browse All Topics





by: BMKESHAVPosted on 2009-07-02 at 04:42:09ID: 24762200
Batch file is nothing but a text file with extension .bat
You simply make a text file in any text editor and make the extension of the .bat
@ Command prompt type the following :
Copy Con Yourbatfilename.bat
Type your command here
Press Ctrl+Z
This will make a batch file.
To run a batch file : Simply Click on Batchfilename in Windows or in DOs CMD propmpt type batchfilename.bat and press enter.
Bm keshav