It looks like you can not use wild cards with dirremove and you can not access admin shares with dos del or rd. Anyone know how we can delete wildcarded prodiles off a network share?
DirRemove("\\csctc1\C$\Documents and Settings\" & "$profile & ".*",1)
we want to remove profiles like
profile.1
profile.1.2
so on and so on
and keep
profile_second
but the real issue is using wildcards over a net admin share. any ideas?