T
Tian Liu
All of the temporary internet cache files generated by the terminal users
web surfing sessions are dumped on the file server. And I need to get a
cache size report/data.
A batch file like the following is fine, but I have to manually put in all
the user's home directory name, which is too much for a couple of hundred
users.
diruse /* /m "f:\homedir\user1\tsprofile\temporary internet
files\content.ie5" > e:\cachedata.txt
diruse /* /m "f:\homedir\user2\tsprofile\temporary internet
files\content.ie5" >> e:\cachedata.txt
diruse /* /m "f:\homedir\user3\tsprofile\temporary internet
files\content.ie5" >> e:\cachedata.txt
So the only variable here is the user1, user2, user3... Is there an easier
way to do this rather than put 200 lines in the batch file?
Thanks - Tian
web surfing sessions are dumped on the file server. And I need to get a
cache size report/data.
A batch file like the following is fine, but I have to manually put in all
the user's home directory name, which is too much for a couple of hundred
users.
diruse /* /m "f:\homedir\user1\tsprofile\temporary internet
files\content.ie5" > e:\cachedata.txt
diruse /* /m "f:\homedir\user2\tsprofile\temporary internet
files\content.ie5" >> e:\cachedata.txt
diruse /* /m "f:\homedir\user3\tsprofile\temporary internet
files\content.ie5" >> e:\cachedata.txt
So the only variable here is the user1, user2, user3... Is there an easier
way to do this rather than put 200 lines in the batch file?
Thanks - Tian