Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-05-2008, 11:20 PM Coding Help...
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
I used this bit of code last night to rename text files that are inside zip files and now I tried it and it doesn't want to work...

Code:
for %%i in (*.zip) do "PROGRAMFILES%\WinRAR\WinRAR.exe" rn %%i *.txt description.txt
What this does is rename the .txt files to a file named description.txt for each one of the txt files inside the zip. But when I ran that batch code just a little while ago, I got this error:

Code:
Error
Unknown option ""
Note: A couple of the text files did rename, but the rest of them did not. And I did *alot* of work getting the text files inside each zip file, so please don't say I need to re-do that part...Is there a way to re-name these text files?

Note: They are long filenames, I wonder if that's why I got the error, 'cause the one's that did rename, were shorter names like 8.3 length filenames.

Thanks!
-Brian

Last edited by Brian07002; 08-05-2008 at 11:24 PM..
Brian07002 is online now
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Coding Help...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07673 seconds with 12 queries