bsharath
asked on
Delete remote machines recycle bin . Need a script to do this.
Hi,
Delete remote machines recycle bin . Need a script to do this.
I have this
del \\machinename\c$\Recycler\ *.* /q /s
But this is for 1 machine how can i run a scipt on a list of machine names to empty the bin.
Regards
Sharath
Delete remote machines recycle bin . Need a script to do this.
I have this
del \\machinename\c$\Recycler\
But this is for 1 machine how can i run a scipt on a list of machine names to empty the bin.
Regards
Sharath
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
im after something like this also.... can anyone make one with a popup box (e.g. VBscript) that you input the remote pc name...
ASKER
For a single machine use something like this
del \\Machine Name\c$\Recycler\*.* /q /s
Sorry not sure of a popup
del \\Machine Name\c$\Recycler\*.* /q /s
Sorry not sure of a popup
ASKER
For a single machine use something like this
del \\Machine Name\c$\Recycler\*.* /q /s
Sorry not sure of a popup
del \\Machine Name\c$\Recycler\*.* /q /s
Sorry not sure of a popup
C:\tools>FOR /F "delims=~" %f in (computers.txt) DO del \\"%f"\c$\Recycler\*.* /
q /s