ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: delete certain filetypes from fav folder

<< < (4/4)

Ath:
What happens if you bring up a command prompt and use one of those commands directly at the prompt?
-skwire (March 14, 2012, 06:01 PM)
--- End quote ---
-then the job is done at once :-)
-Curt (March 14, 2012, 06:25 PM)
--- End quote ---
That depends on the type of Command prompt, a 'standard' one or an 'Administrator' command prompt, as the last one has better privileges and can execute nearly anything with admin rights :tellme:

Curt:
-I used a command prompt without noted administrator privileges.

----------------

Taking ownership of the folders in question, did not change anything.

Curt:
post deleted.

temp' error.

rjbull:
Thank you, rjbull. Can it delete files older than just a few minutes? Or can it delete per file extension type only?-Curt (March 14, 2012, 05:22 PM)
--- End quote ---
Yes to both; "age" is age in days, not minutes. DelAge32 - ver. 2.3 (c) 2003-2008, Horst Schaeffer
Deletes or moves files (path with file pattern) by age (number of days)
Syntax:  DelAge32 filespec age [options]
Options:
  /created /accessed /modified (default) - file stamp used to evaluate age
  /includeRO - include read-only files
  /includeH  - include hidden files
  /includeS  - include system files
  /includeRHS -include read-only, hidden and system files
  /recurse   - include subdirectories
  /subonly   - /recurse excluding initial directory
  /rd        - remove empty subdirectories
  /move path - move files to specified path
  /preview   - list, but no action
  /quiet     - no output
--- End quote ---

The process is: I download MWA music files, I convert them to MP3, I delete the downloaded files (wma and m3u), and obviously keep the converted ones, except the '.tunebite' that the converter created. The files to be deleted are placed in various subfolders, and seldom older than a few hours. -Curt (March 14, 2012, 05:22 PM)
--- End quote ---
I do something similar.  I prefer to edit most of my forum posts in my text editor, and I use Text Editor Anywhere (TEA) as an aid in transferring text between forum and editor.  TEA saves its files.  I regularly archive them, but don't move them into the archive as I like to leave the most recent ones readily available.  The same batch file runs delage to delete all the ones that are 32 days or more old, by which time I wouldn't expect to need quick reference to them.  My current cleanup.bat, which does other things as well, looks something like this:


--- ---@echo off
:: archive all Text Editor Anywhere text files (not just forum posts, all Web forms)
"c:\Program Files\WinRAR\Rar.exe" u -ep -log="c:\Users\rjbull\backup\ForumPostBackups.log" "c:\Users\rjbull\backup\ForumPostBackups.rar" "c:\NoInst\Text Editor Anywhere\Temp\*.txt"
:: Clean up
c:\DOS\Utils\delage32.exe "c:\NoInst\Text Editor Anywhere\Temp\TextEditorAnywhere*.txt" 32 /quiet
c:\DOS\Utils\delage32.exe "c:\NoInst\Text Editor Anywhere\Temp\TextEditorAnywhere*.bak" 10 /quiet
c:\DOS\Utils\delage32.exe "c:\Users\rjbull\Documents\HippoEdit_backups\*.*" 32 /recurse /quiet
cls
exit
Note that I've set different deletion ages for *.txt and *.bak files.

Navigation

[0] Message Index

[*] Previous page

Go to full version