hi ppl,
in my organization we have mapped one drive for temporary exchange of files.
this drive is a shared folder in fileserver, and it must be cleanned every 15 days.
i tryed to create a bat file and put a task to run that bat, but i want to delete files and subfolders inside that folder and not to delete the folder.
i tryed to use
"rmdir /s c:\xpto" or
"rmdir /s c:\xpto\" or
"rmdir /s c:\xpto\*.*" and
"rmdir c:\xpto\"
how can i delete that garbage and keep the folder xpto with my ntfs permissions
thanks
in my organization we have mapped one drive for temporary exchange of files.
this drive is a shared folder in fileserver, and it must be cleanned every 15 days.
i tryed to create a bat file and put a task to run that bat, but i want to delete files and subfolders inside that folder and not to delete the folder.
i tryed to use
"rmdir /s c:\xpto" or
"rmdir /s c:\xpto\" or
"rmdir /s c:\xpto\*.*" and
"rmdir c:\xpto\"
how can i delete that garbage and keep the folder xpto with my ntfs permissions
thanks