Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 13-04-2019, 02:20
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,842
Thanks: 21
Thanked 344 Times in 226 Posts
Joe Forster/STA is on a distinguished road
I think you're looking for this:
Code:
for /r %%f in (*.bk2) do arc.exe a -i2 -r -mbpk %%~dpnf.arc %%f
The variable called "%f" (if used in a .bat file, "%" must be doubled) is assigned the paths of all files matching "*.bk2" in all subdirectories, in any depth, of the current directory. After each assignment, the command after "do" is executed. The "%~dpnf" syntax splits the path in "%f" into components, keeps the "d"rive, "p"ath and "n"ame components only, and drop the e"x"tension - because you add another extension.

Run "for /?" in the command line for the complete description of the "for" command, including everything I wrote above.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
The Following 2 Users Say Thank You to Joe Forster/STA For This Useful Post:
shazzla (13-04-2019), Simorq (13-04-2019)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unpack files with progress in batch gozarck Conversion Tutorials 3 29-06-2016 12:38
Small help to complete myh batch file sandmaan PC Games 0 17-08-2014 11:24
How do I make a batch file to burn CDDA games? Excalibur007 DC Games 1 01-06-2002 11:22
1:1 on Win2000 no crack needed. Win 98/XP crack needed. Why? Chikoko PC Games 0 16-01-2002 15:35
I want to know what is needed to start burning DC games???? 1977 DC Games 3 29-05-2001 21:17



All times are GMT -7. The time now is 12:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com