Ray Costanzo <> wrote on Wednesday, March 21, 2007 12:26 PM: I tried something very similar, but failed. Need to look in which file pointed to where again... Thx! > Hi Sorin, > > How are the computers in the text file? Just one computer name per line and > nothing else? If so, you can enter something like this at the command > prompt to schedule your file every Monday at 8:30 AM. > > for /f %a in (D:\computers.txt) do (at \\%a 8:30 /every:M > C:\Path\To\file.vbs) > > This is just to be entered at the command prompt. If you were to put it > into a .cmd (or .bat) file, the two places where you see %a would have to > become %%a instead. > > Note that D:\computers.txt is the path on your machine to your text file of > computers. > Note that C:\Path\To\file.vbs is the local path on the remote machine. By > default, the AT account runs as the local system, so you can't put your > target file on a network share, since AT won't have rights to it. So, you'd > have to copy the file out to everyone's machine. > > Ray at work > > > > >> -----Original Message----- >> From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000- >> bounce@xxxxxxxxxxxxx] On Behalf Of Sorin Srbu >> Sent: Wednesday, March 21, 2007 5:23 AM >> To: windows2000@xxxxxxxxxxxxx >> Subject: [windows2000] Re: Pushing a scheduled job to all computers on a >> domain >> >> Dave stevens <> wrote on Wednesday, March 21, 2007 10:07 AM: >> >> Yupp, seems like the at command will do the thing. I don't however >> understand how to tell it to use the computernames I have in the txt-file. >> >> Some kind of loop like "run this command on the computers in the list" >> would be suitable. I recall some "for in %%..." something or other command >> in batch scripting, but can never remember how to... >> >> > > > ***************************** > New Site from The Kenzig Group! > Windows Vista Links, list options > and info are available at: > http://www.VistaPop.com > ***************************** > To Unsubscribe, set digest or vacation > mode or view archives use the below link. > > http://thethin.net/win2000list.cfm ***************************** New Site from The Kenzig Group! Windows Vista Links, list options and info are available at: http://www.VistaPop.com ***************************** To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm