By the way these are a great way to clear out temp files on a nightly reboot..below is a sample of ours. If you need a response to a command remember to add echo y | in front of it. Ours clears out the temp files clears spooled print jobes and schedules a reboot. JK echo y | del c:\temp\*.* /S rd c:\temp\ /s /q md c:\temp Cacls c:\TEMP /E /P EveryOne:F echo y | del d:\temp\*.* /S rd d:\temp\ /s /q md d:\temp Cacls d:\TEMP /E /P EveryOne:F echo y | del c:\wtsrv\*.tmp echo y | del c:\wtsrv\*.htm REM Sample file for Winframe Rem Change Winframe to WTSRV for Metaframe soon 7200 "%0" net stop spooler echo y | del c:\wtsrv\system32\spool\printers\*.* echo y | del p:\spool\*.* c:\timeout.exe 5 net start spooler rem c: rem cd\wtsrv\system32 rem AT 21:15 SHUTDOWN /REBOOT -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of Jim Kenzig Sent: Friday, June 06, 2003 10:54 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Running a script Get autoexecnt.zip or autostrt.zip from thethin.net freeware downloads page. It runs as a service and makes it so you can run a script at boot without logging in. They are on http://thethin.net/download.cfm There are also fixed versions of both if you remap your drives via Citrix. Regards, Jim Kenzig http://thethin.net -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of Michael Boggan Sent: Friday, June 06, 2003 10:54 AM To: THIN (E-mail) Subject: [THIN] Running a script I want to run a script that runs the SETPRFDC program whenever a server first boots up. What is the best way to do this? The servers are winnt tse. Thanks, Michael Boggan Virtual Desktop Inc. ******************************************************** This Week's Sponsor - Appsense Technologies New! AppSense Optimizer is a new product from AppSense designed to increase the user capacity of your servers. http://www.appsense.com/ ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm