Discussion Locked

Scripting and Citrix Metaframe

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I was wondering if anyone has ever written or has any information about writing a script for use with Citrix Metaframe. The script I'm trying to create would delete files from each individual users startup folder on a weekly basis. Many of our usersopen attachments in Outlook Express without saving them and the temp directory for these attachments is the startup. This is causing all of the files in the folder to open each time a user logs into a session.

Thanks in advance.

Shawna

5 replies

by jhermiz

Why do you use that folder by default? We're running metaframe too but you can change that folder using the registry. You can also use Script logic to clean that directory out..but you dont need that..you could just run a batch with an execuatable(maybe VB / C++) to go into that directory and delete all the temporary files...or just write a simple batch file and load this batch file in citrix's startup for each user. First off the batch file:
in a dos console edit clean.bat
you will get aeditor to create the batch file in the batch file type:
del m:\StartupFolder\*.*

Exit and save .. and thats it...use the -option at the end of the delete statement so that you are not prompted to delete the files. Now all you have to do is use this batch file in your startup options in citrix.

Good luck
Jon

by jhermiz

Why do you use that folder by default? We're running metaframe too but you can change that folder using the registry. You can also use Script logic to clean that directory out..but you dont need that..you could just run a batch with an execuatable(maybe VB / C++) to go into that directory and delete all the temporary files...or just write a simple batch file and load this batch file in citrix's startup for each user. First off the batch file:
in a dos console edit clean.bat
you will get aeditor to create the batch file in the batch file type:
del m:\StartupFolder\*.*

Exit and save .. and thats it...use the -option at the end of the delete statement so that you are not prompted to delete the files. Now all you have to do is use this batch file in your startup options in citrix.

Good luck
Jon

This discussion is closed to new replies.