command prompt - File path to remotely delete active user's Temp files -
i want run scheduled task on local ad server empty out active users temp folder located @ c:\users\%username%\appdata\local\temp*
i run command empty users c:\windows temp folder 1 more tricky %username% issue.
the script have is:
rmdir /s /q \\172.20.120.101\c$\users\%username%\appdata\local\temp > null but gives me error of
the system cannot find file specified is there way select file path based on user logged in, or active profile were?
there 100 lines, differentiated ip address. hope @ point in future script run command external list of ip addresses stored on ad server in .txt or .csv format
Comments
Post a Comment