I know you guys can help, heck you reply to the I made a
doody guy ...

What am I doing wrong here? I'm trying to delete profile
folders on remote servers and it ain't working! Both
syntax examples do not work ... ugh!


Echo Deleting user profile on server07
Del /q \\server07\C$\Documents and Settings\%1

Echo Deleting user profile on server08
Deltree /y \\server08\C$\Documents and Settings\%1

Re: Batch File Delete? by Consultant

Consultant
Fri Jun 18 14:50:55 CDT 2004

why do you have the switch in front? why do you want to delete all profiles?

your script is doody

"BatchFile Bob" <anonymous@discussions.microsoft.com> wrote in message
news:1eae301c4556b$8be37da0$a001280a@phx.gbl...
> I know you guys can help, heck you reply to the I made a
> doody guy ...
>
> What am I doing wrong here? I'm trying to delete profile
> folders on remote servers and it ain't working! Both
> syntax examples do not work ... ugh!
>
>
> Echo Deleting user profile on server07
> Del /q \\server07\C$\Documents and Settings\%1
>
> Echo Deleting user profile on server08
> Deltree /y \\server08\C$\Documents and Settings\%1
>
>



Re: Batch File Delete? by Spyke

Spyke
Fri Jun 18 14:55:44 CDT 2004

"BatchFile Bob" <anonymous@discussions.microsoft.com> wrote in
news:1eae301c4556b$8be37da0$a001280a@phx.gbl:

> I know you guys can help, heck you reply to the I made a
> doody guy ...
>
> What am I doing wrong here? I'm trying to delete profile
> folders on remote servers and it ain't working! Both
> syntax examples do not work ... ugh!
>
>
> Echo Deleting user profile on server07
> Del /q \\server07\C$\Documents and Settings\%1
>
> Echo Deleting user profile on server08
> Deltree /y \\server08\C$\Documents and Settings\%1
>
>
>

Try this command instead of the Del or Deltree (this is assuming you are
running this command on at least Win/2k)

rd "\\server07\C$\Documents and Settings\%1" /s/q

--

Cheers,
Spyke

Re: Batch File Delete? by thanx

thanx
Fri Jun 18 15:06:14 CDT 2004

.eom.

>-----Original Message-----
>"BatchFile Bob" <anonymous@discussions.microsoft.com>
wrote in
>news:1eae301c4556b$8be37da0$a001280a@phx.gbl:
>
>> I know you guys can help, heck you reply to the I made
a
>> doody guy ...
>>
>> What am I doing wrong here? I'm trying to delete
profile
>> folders on remote servers and it ain't working! Both
>> syntax examples do not work ... ugh!
>>
>>
>> Echo Deleting user profile on server07
>> Del /q \\server07\C$\Documents and Settings\%1
>>
>> Echo Deleting user profile on server08
>> Deltree /y \\server08\C$\Documents and Settings\%1
>>
>>
>>
>
>Try this command instead of the Del or Deltree (this is
assuming you are
>running this command on at least Win/2k)
>
>rd "\\server07\C$\Documents and Settings\%1" /s/q
>
>--
>
>Cheers,
>Spyke
>.
>