make a text file containing all the server names you want to execute the command on, each server on a new line The run it as "psexec c:\serverlist.txt cmd" I'm not sure whether or not you need the list to be "\\server01" or just "server01" though. Best just to try entering the local desktop machines name to check! :) Andrew --o-- >>> wattsdog523@xxxxxxxxx 25/08/04 13:57:15 >>> I am trying to run a command on all my terminal servers using sysinterals psexec. Here is the syntax for psexec. psexec [\\computer[,computer2[,...] | @file][-u user [-p psswd]][-n s][-s|-e][-i][-c [-f|-v]][-w directory][-d][-<priority>][-a n,n,...] cmd [arguments] My question is the @file switch. How is it used from the command line? Thanks in Advance! Chas Watts Greg Watts wattsdog523@xxxxxxxxx 410.274.3076 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ******************************************************** This Weeks Sponsor RTO Software Do you know which applications are abusing your CPU and memory? Would you like to learn? -- Free for a limited time! Get the RTO Performance Analyzer to quickly learn the applications, users, and time of day possible problems exist. http://www.rtosoft.com/enter.asp?id20 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm