Answer» Trying to make a BATCH file, TAKE a file named 'LABEL-O.LUA' and rename it 'LABEL.LUA' ... that is the easy part.... THEN I WANT to copy or move that RENAMED file to another folder.... OR... !!!
BACKGROUND~ Have two files. Let's call them 'Label-1' and 'label-2'... [lua] These two files have variances inside, reversed. example: ........one says YES the other says NO That is OK and what i want.
so far so good....
I want to be able to TOGGLE either [renamed] file to another folder ... [the ORIGINAL filename LABEL.LUA] so the program they are inside of... can use either file but both files must able to be RENAMED LABEL.LUA while the other remains NOT renamed.
I know what I want yet even my explanation here is confusing to me...and I wrote it !!!
Two batch files are OK too if it cannot be done with one TOGGLING batch file.
My insanity stems from trying to emulate a batch file that in part, has a series of 'WAV' files that it RENAMES to '*.WA_ ' so that the program does not recognize them and therefore uses other sound files [*.ogg] Running this batch file AGAIN and it REVERSES the process and takes the '*.WA_' files and renames them '*.WAV' so the program now recognizes these and uses them therefore NOT USING the '*.ogg' files.
going nuts....
Sam quote: "My insanity stems from trying to emulate a batch file that in part, has a series of 'WAV' files [40] that it RENAMES to '*.WA_ ' so that the program does not recognize them and therefore uses [40] other sound files [*.ogg] Running this batch file AGAIN and it REVERSES the process and takes the '*.WA_' files and renames them '*.WAV' so the program now recognizes these and uses them therefore NOT USING the '*.ogg' files." ....................................... ... I see many have had a looksee but no responses. Probably my fault.
Here is the BATCH FILE I referred to that RENAMES files then RENAMES them back again. This is something like I want to do and tried to explain to you.
SWITCHER.BAT ~~~~~~~~~~~~~~~ @echo off CLS echo Please wait.... if exist *.wav goto rename_to_wa_ if exist *.wa_ goto rename_to_wav echo no *.WAV or *.WA_ files found pause goto stop REM -------- :rename_to_wa_ ren *.wav *.wa_ CLS echo original voice selected goto end REM -------- :rename_to_wav ren *.wa_ *.wav CLS echo alternative voice selected REM -------- :end echo _ pause :stop ~~~~~~~~~~~~~~~~~~
As stated in my first post. I took THIS batch file as my inspiriation to rename two almost identical files call them Label-1.lua .... this one says YES Label-2.lua .... this one says NO
In order for them to work they EACH must END UP with the name LABEL.LUA Naturally only one file can be in the folder at a time with the EXACT same name. Soooo I want to be able to TOGGLE them [like the SWITCHER.BAT file] shown above.
OR.... be able to EXchange the LABEL-1 file for the LABEL-2 file.... with either a toggle or via two different batch files.
Hopefully this is a bit clearer. SamI have only a vague idea of what you are trying to do. That may point to a key part of the problem: You acknowledge that your explanation is not very clear. I find that when I can express my problem well in English, then I can CODE it easily, and vice versa.
Ennyhow -- perhaps you need an overlay rather than a rename. Say you have two files SOURCE1 and SOURCE2. You can COPY SOURCE1 to SOURCERY, then later overlay it with COPY SOURCE2 SOURCERY.
That would not work with your .WAV files, but what about the others (which I can't see right now. Does that HELP?
|