Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by beardog1113
at 2024-07-22 19:59:58
Point:500 Replies:4 POST_ID:829077USER_ID:11756
Topic:
Windows Server 2008;Microsoft Windows Operating Systems;Microsoft Operating Systems
hello Experts
there are so many data on my file server(windows server), it always cause the server out of space, actually all files which older than 2 years is not usable for me, so we can delete or purge them.
so my question is, is there any software could help list such files on my server, so that i can clear it?
thank you
there are so many data on my file server(windows server), it always cause the server out of space, actually all files which older than 2 years is not usable for me, so we can delete or purge them.
so my question is, is there any software could help list such files on my server, so that i can clear it?
thank you
Author: beardog1113 replied at 2024-07-26 18:02:30
thank you
Accepted Solution
Expert: duncanb7 replied at 2024-07-23 00:05:16
500 points EXCELLENT
You can write a simple batch script to do that with forfiles command and
looping all your directory you want
example forfiles command :
where 2 is the fiie for older than 2 days
forfiles /p "typeyourpathhere" /s /d -2 /c "cmd /c del @path "
Document for forfiiles: http://ss64.com/nt/forfiles.html
Duncan
looping all your directory you want
example forfiles command :
where 2 is the fiie for older than 2 days
forfiles /p "typeyourpathhere" /s /d -2 /c "cmd /c del @path "
Document for forfiiles: http://ss64.com/nt/forfiles.html
Duncan
Expert: Wilder_Admin replied at 2024-07-22 22:37:56
I am using for that occasion delage32. There you can config which folder to delete. Quite simple and easy to use.
Helps my day as a fileserveradmin.
Helps my day as a fileserveradmin.
Expert: garycase replied at 2024-07-22 21:40:01
There are a lot of ways to list older files and automatically delete them ... but you need to be careful. Many system components are likely that old ... and deleting them could cause significant problems. Ditto components that are part of your applications.
A few scripts that will work for this are shown here (note that the first one does not work -- the responses that follow are the ones that work): http://stackoverflow.com/questions/324267/batch-file-to-delete-files-older-than-a-specified-date
I'd limit the area you search and delete files from to the user folders, however, to avoid the issue I noted r.e. system and program components.
A few scripts that will work for this are shown here (note that the first one does not work -- the responses that follow are the ones that work): http://stackoverflow.com/questions/324267/batch-file-to-delete-files-older-than-a-specified-date
I'd limit the area you search and delete files from to the user folders, however, to avoid the issue I noted r.e. system and program components.