great_compressor_pain Topic Starter
Rookie

Posts: 22
Thanked: 0
OS: Windows XP
Computer: Specs
Experience: Expert

Im Great At Game Repacking
|
|
« on: November 05, 2009, 08:20:29 AM » |
|
pls help me im Average in Batch Processing... i have may files to rename Suppose if my files are in E:\test batch\test1.txt,test2.txt..... which r of nearly 10mb in size & i want to replace it with another test1.txt,test2.txt..... which r of 2kb 's in size there r nearly hundreds of files so what should b the command lines?   ??
|
The 1 Who can explain Colors to blind can Explain Everything in LYF
I M BeSt At GaMe EdItInG AnD CoMpReSsInG
|
|
|
wbrost
Intermediate

Posts: 154
Thanked: 8
OS: Windows XP
Experience: Expert
Certifications: List

|
|
« Reply #1 on: November 05, 2009, 08:46:07 AM » |
|
What is the process you are using now to compress the files and then replace the originals? There should be a switch to replace the files as they are created.
|
|
|
|
|
billrich
Guest
|
|
« Reply #2 on: November 05, 2009, 10:23:11 AM » |
|
Great_Compressor_Pain wrote: "I have may files to rename. Suppose if my files are in E:\test batch\test1.txt,test2.txt..... which are nearly 10mb in sizeI want to replace it with another test1.txt,test2.txt..... which are nearly 2kb 's in size.There are nearly hundreds of files." I wonder how the "Great_Compressor_Pain" can go from 10Meg to 2k without compression? 
|
|
|
|
« Last Edit: November 06, 2009, 11:45:19 AM by billrich »
|
Logged
|
|
|
|
|
|
wbrost
Intermediate

Posts: 154
Thanked: 8
OS: Windows XP
Experience: Expert
Certifications: List

|
|
« Reply #4 on: November 06, 2009, 06:17:37 AM » |
|
I wonder how the "Great_Compressor_Pain" can go from 10Meg to 2k without compression?
he has completed the compression or he would not know the file size with compression. What I think he was/is asking for is how to replace the original files with the compressed versions. @great_compressor_pain What compression utility are you utilizing? There should be switches or commands to replace files as they are compressed. We will need to know the program before we can give you the available switches or commands.
|
|
|
|
|
billrich
Guest
|
|
« Reply #5 on: November 06, 2009, 04:30:47 PM » |
|
I have may files to rename Suppose if my files are in E:\test batch\test1.txt,test2.txt..... which are nearly 10mb in size
& I want to replace it with another test1.txt,test2.txt..... which are of 2kb 's in size
There are hundreds of files.
So what should b the command lines be?
You may rename as you copy with the following code by Greg: The destination string must include a counter and the file extention: @echo off setlocal enabledelayedexpansion
set /a j=0 dir /B /s *.mod > mod.txt
for /f "delims=" %%a in (mod.txt) do (
set /a j+=1
copy "%%a" E:\tmp\!j!.mod ) reference: http://www.computerhope.com/forum/index.php/topic,94198.msg637309.html#msg637309
|
|
|
|
« Last Edit: November 06, 2009, 05:59:21 PM by billrich »
|
Logged
|
|
|
|
great_compressor_pain Topic Starter
Rookie

Posts: 22
Thanked: 0
OS: Windows XP
Computer: Specs
Experience: Expert

Im Great At Game Repacking
|
|
« Reply #6 on: November 07, 2009, 09:55:49 AM » |
|
Means... If there is a file named test.avi which is in Lower quality of size 10mb and i just replace it with another test.avi of size 2kb whose quality is 10 times worse than ever
|
The 1 Who can explain Colors to blind can Explain Everything in LYF
I M BeSt At GaMe EdItInG AnD CoMpReSsInG
|
|
|
billrich
Guest
|
|
« Reply #7 on: November 07, 2009, 07:50:54 PM » |
|
Means... If there is a file named test.avi which is in Lower quality of size 10mb and i just replace it with another test.avi of size 2kb whose quality is 10 times worse than ever
Unless you are out of space don't compress. Put seldom used files on an external drive. Good Luck.
|
|
|
|
|
gh0std0g74
Apprentice

Posts: 546
Thanked: 34
OS: Linux Variant
Experience: Experienced
|
|
« Reply #8 on: November 07, 2009, 09:57:12 PM » |
|
@OP, describe what you want to do EXACTLY. You can making the people who answer your post more confused... . Do you want to convert avi from high quality to lower quality ? then use a video conversion tool that does that for you. If you are talking about compression as in what zip or winzip does for you, then no, compressing an avi file doesn't give you much reduction in size.
|
|
|
|
great_compressor_pain Topic Starter
Rookie

Posts: 22
Thanked: 0
OS: Windows XP
Computer: Specs
Experience: Expert

Im Great At Game Repacking
|
|
« Reply #9 on: November 08, 2009, 06:59:12 AM » |
|
Now this is The real thing
i rip off videos from games...(not really rip off just MOVE them in Temp Folder)
Now my Temp Folder is in
E:\Temp\
It Contain 36 *.bik files (video Files) of game which r 2 b Replaced by 36 blank *.bik files
which Are in:
E:\Temp\Movies
|
The 1 Who can explain Colors to blind can Explain Everything in LYF
I M BeSt At GaMe EdItInG AnD CoMpReSsInG
|
|
|
BC_Programmer
Sage

Posts: 8848
Thanked: 257
OS: Windows XP
Computer: Specs
Experience: Experienced


|
|
« Reply #10 on: November 08, 2009, 02:19:29 PM » |
|
@echo off for %%P in (*.bik) do copy /Y E:\temp\movies\%%P .
replaces "bik" files in current folder with files from E:\temp\movies.
|
If this is real life, where the heck is the decimal?
|
|
|
great_compressor_pain Topic Starter
Rookie

Posts: 22
Thanked: 0
OS: Windows XP
Computer: Specs
Experience: Expert

Im Great At Game Repacking
|
|
« Reply #11 on: November 15, 2009, 07:26:53 AM » |
|
I appreciate all replies but no one works
|
The 1 Who can explain Colors to blind can Explain Everything in LYF
I M BeSt At GaMe EdItInG AnD CoMpReSsInG
|
|
|
billrich
Guest
|
|
« Reply #12 on: November 15, 2009, 08:21:28 AM » |
|
I appreciate all replies but no one works
Take your computer to your trusted local computer shop. If you need money to pay for the software repair, contact me by email.
|
|
|
|
|
Salmon Trout
Adviser

Posts: 960
Thanked: 57
OS: Windows XP
Experience: Guru
|
|
« Reply #13 on: November 15, 2009, 08:45:54 AM » |
|
He's gone mad.
|
Sansovino, Firdaussi, Brown Jack, Lemberg, Woolwinder, and the others... magic names... all gone but for 4472
|
|
|