Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

WinRar-Process all folders containing specific characters in name
Hi,

I'd like to process all folders, on the C: drive, which contains
specific characters in their name. For example, it would search for
all folders beginning with the string "Backup_" and process all files
included in these folders (recursively). I'd like to perform this from
the command line.

Ex. of folders that would be processed:

c:\My documents\Backup_Images
c:\Backup_WorkFiles
C:\Documents and Settings\john\Desktop\Backup_Downloads

Any ideas?

Report this thread to moderator Post Follow-up to this message
Old Post
mACKnIFE
10-07-04 08:55 PM


Re: WinRar-Process all folders containing specific characters in name
machnife@yahoo.com (mACKnIFE) wrote in message news:<733e6f06.0410070634.71e0ef@posting.goo
gle.com>...
> Hi,
>
> I'd like to process all folders, on the C: drive, which contains
> specific characters in their name. For example, it would search for
> all folders beginning with the string "Backup_" and process all files
> included in these folders (recursively). I'd like to perform this from
> the command line.
>
> Ex. of folders that would be processed:
>
> c:\My documents\Backup_Images
> c:\Backup_WorkFiles
> C:\Documents and Settings\john\Desktop\Backup_Downloads
>
> Any ideas?


quoting directly from the help file for the "Listfiles" switch:

Listfiles are plain text files contained names of files to process.
File names should start at the first column. It is possible to put
comments to the listfile after // characters. For example, you may
create backup.lst containing the following strings:
c:\work\doc\*.txt	//backup text documents
c:\work\image\*.bmp	//backup pictures    c:\work\miscand then run:
rar a backup @backup.lstYou may specify both usual file names and
list files in the same command line.


so all you need to do is write a script or a very small program to
generate an appropriate text file listing the files wanted.

Report this thread to moderator Post Follow-up to this message
Old Post
moogie
10-08-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compression archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:47 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.