Okay, first off, this isn't a DOS sup****t group. This is for DOS versions
of the
BASIC langauge. That said, ...
John Smith <jsmith@[EMAIL PROTECTED]
> wrote:
> I would like to run the following command (to purge tem****ary
> files) from the administrator account and have it applied to every
> user on a computer. One way to do it, I guess, is replace user1
> with a variable and run the batch file with all users on the computer.
>
> Any simpler way?
>
> rd /s /q C:\Do***e~1\chouj\Locals~1\tem****~1
I *hate* the ~1 style, but for brevity will use it:
for /d %d in (C:\Do***e~1\*) do rd /s /q %d\locals~1\tem****~1
Do "for /?" for deeper insight.
--
..NET: It's About Trust!
http://vfred.mvps.org