Kim- Instead of M:\winnt\profgen\outlookxp.prf try start M:\winnt\profgen\outlookxp.prf It should launch the program separately from the batch, and allow the batch to continue (or end, if it's the last line). Hope this helps- -pete -----Original Message----- From: Barnes, Kim [mailto:Kim.Barnes@xxxxxxxxxx] Sent: Monday, January 13, 2003 5:48 PM To: learncitrix@xxxxxxxxxxxxx; thin@xxxxxxxxxxxxx Subject: [THIN] Profile Generator for Office XP Is anyone using the Office XP Profile Generator? PRF files are now executables in Outlook XP. I need the PRF file to execute the first time a user logs in. I don't want it to execute anytime after because I don't want the PRF file to overwrite any customizations they may have made in Outlook. I've accomplished this in a script file. The script file does the following: Checks to see if the outlook.prf file exists in the user's profile directory. If it does not exist (then this is a new user), copy the outlook.prf file to the user's profile directory. Execute the outlook.prf file, which launches Outlook. If it does exist, then it is not a new user so it exits the script. The following is my script file: IF EXIST "%userprofile%\outlookxp.prf" goto end copy M:\winnt\profgen\outlookxp.prf "%userprofile%\outlookxp.prf" M:\winnt\profgen\outlookxp.prf :end The problem is that since I have this in a script, when it runs the line M:\winnt\profgen\outlookxp.prf it launches outlook and the script thinks it's still running. So cmd.exe is still running in the background. How do I get the script to end?? Thanks, Kim Barnes Server Administrator TTI, Inc. 817-740-9000 kim.barnes@xxxxxxxxxx ********************************************************** Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original. ********************************************************** *********************************************** This Weeks Sponsor: WM Software WMS Messenger for TSE Affordable Instant Messaging for Terminal Servers http://www.wmsoftware.com/wmsm/ ************************************************ For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm