VBScript: Map Network Drive, Run Command, Disconnect Network Drive
I am hoping to get some help on a script that does the following:
map a network drive to a UNC path
run a command: forfiles /p "z:\" /m *.txt /d -365 /c "cmd del /q @file"
disconnect the network drive from the UNC path