Good point...forgot about the environment
variables.
So, for Sharyn's use, it would be something
like...
ECHO %1 >> "\\<network path to your server here that every
user has write access to>\PSTsize.log"
DIR "%USERPROFILE%\local
settings\application data\ etc..." >> "\\<network path to your
server here that every user has write access
to>\PSTSize.log" Then she just has to put them in every AD profile
<g>. There may be a shortcut for that though...possibly a group
policy that would do it.
Darin. ----- Original Message -----
From: William Stillwell
Sent: Wednesday, September 14, 2005 4:37 PM
Subject: Re: [Declude.JunkMail] WAY OT: software to monitor the size
of the local Outlook.pst file No need for %1
There are these varibles available.
%COMPUTERNAME%
%USERNAME%
%USERPROFILE%
Now, you can't have spaces in the "DIR" Command,
so
DIR "%USERNAME%\*.*" >>
"C:\Pst.Log"
Now, that only works in a .cmd file.
testing from a command prompt doesn't
work.
|
Title: Message
- Re: [Declude.JunkMail] WAY OT: software to monitor the s... William Stillwell
- Re: [Declude.JunkMail] WAY OT: software to monitor ... Darin Cox