Link to home
Start Free TrialLog in
Avatar of sidartra
sidartraFlag for Singapore

asked on

Windows 2008 server script to delete all .* files

I ave a file server with over 2million files. I tested a replication software and it created a 4kb hidden file for every file and folder

e.g.  C:\Department\Finance\2008\Leave.xls there would be a file
C:\Department\Finance\2008\._Leave.xls (all file now have a ._ prefix 4kb shadow file)

Is there a script or command I can use to recurse all folders to delete any file with a "._" prefix?

Thanks.

ASKER CERTIFIED SOLUTION
Avatar of dacasey
dacasey
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial