English > Support

Sample template question

<< < (4/4)

rick.ca:
I don't know.

Ivek23:

--- Quote from: rick.ca on January 01, 2011, 12:15:47 pm ---
--- Quote ---Please say for example for .jpg...
--- End quote ---

copy "{#StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.jpg'}" D:\Video2Go\
copy "{#StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.srt'}" D:\Video2Go\
copy "{#StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.nfo'}" D:\Video2Go\
...

--- End quote ---

This one works very well, but if for example a text file an additional extension (Example - sample.avi) be written as follows copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.avi.txt'}" D: \ Video2Go \
then will such a text file copied (tested) in the folder D: \ Video2Go \
Here I will be very handy place to renew my DVD movies.

In this

--- Quote ---How could referred to a subfolder in the movie folder and copied the example zip file, or so I have to rename subfolders, or even move a file from subfolders.
The reason that I ask this is because I have the movie folders subfolders called Folder made very large files in zip mode.
--- End quote ---
this should be done

--- Quote ---I have to move a file from subfolders
--- End quote ---
otherwise sure (tested) Not Working (at least for me does not work).

In this
--- Quote ---And how to do this.

Example:  From the folder D: \ Video2Go \  now how to copy (or move) of a specific file (eg. txt,. nfo, ... but not a movie, if possible, of course) in this example movie folder (or other movie folder) L: \ MOVIES \ Comedy \ Subtitles \ 100 girls \ Folder (for example, such a subfolder of this or any other name) to be there such as creating a subfolder, or perhaps there is still another way for such copying.The reason for this is that it could then more of the Sample template text files copied (move) in the movie folder into subfolders.
--- End quote ---

I did some tests.

Examples:

1.)


--- Code: ---% OPTIONS%
filter = "Batch Files | *. bat"
% OPTIONS%
% HEAD%
D:
md Video2Go
% HEAD%
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.zip'}" D:\Video2Go\
% FOOT%
explorer D:\Video2Go
% FOOT%

--- End code ---

Here is copied to each file extension from folder D: \ Video2Go \.

1a .)


--- Code: ---% OPTIONS%
filter = "Batch Files | *. bat"
% OPTIONS%
% HEAD%
D:
md Video2Go
% HEAD%
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.srt'}" D: \ Video2Go \
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.sub'}" D: \ Video2Go \
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.zip'}" D: \ Video2Go \
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.txt'}" D: \ Video2Go \
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.nfo'}" D: \ Video2Go \
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.avi.txt'}" D: \ Video2Go \
% FOOT%
explorer D: \ Video2Go
% FOOT%

--- End code ---

Here is copy all the file extension that are here from folder D: \ Video2Go \

2 .)


--- Code: ---% OPTIONS%
filter = "Batch Files | *. bat"
% OPTIONS%
% HEAD%
D:
md Video2Go
% HEAD%
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.*'}" D:\Video2Go\
% FOOT%
explorer D:\Video2Go
% FOOT%
--- End code ---

Here is copy all the file extension from folder D: \ Video2Go \.

3 .)


--- Code: ---% OPTIONS%
filter = "Batch Files | *. bat"
% OPTIONS%
% HEAD%
L:
md L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder
% HEAD%
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.zip'}" L: \ MOVIES \ Comedy \ Subtitles \ 100 girls \ Folder
% FOOT%
explorer L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder
% FOOT%
--- End code ---

Here is copied to each file extension from folder L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder . It is important that no spaces between words in the titles of movies.

4.)


--- Code: ---% OPTIONS%
filter = "Batch Files | *. bat"
% OPTIONS%
% HEAD%
L:
md L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder
% HEAD%
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.*'}" L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder \
% FOOT%
explorer L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder
% FOOT%
--- End code ---

Here is copy all the file extension from folder L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder . It is important that no spaces between words in the titles of movies.

5 .)


--- Code: ---% OPTIONS%
filter = "Batch Files | *. bat"
% OPTIONS%
% HEAD%
L:
md L: \ MOVIES \ Comedy \ Subtitles \ 100 girls \ Folder
% HEAD%
copy "{# StringReplace '{%value=path}' '{#ExtractFileExt {%value=path}}' '.*'}" L: \ MOVIES \ Comedy \ Subtitles \ 100 girls \ Folder \
% FOOT%
explorer L: \ MOVIES \ Comedy \ Subtitles \ 100 girls \ Folder
% FOOT%
--- End code ---

Here is an example of when not to do anything copied from folder L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder .

When put like this way L: \ MOVIES \ Comedy \ Subtitles \ 100 girls \ Folder to film folders may not even be copied, but should be as follows L: \ MOVIES \ Comedy \ Subtitles \ 100girls \ Folder or like this L: \ MOVIES \ Comedy \ Subtitles \ 100.girls \Folder or the like L: \ MOVIES \ Comedy \ Subtitles \ 100_girls \ Folder  [Examples for 3.) and 4.) ]

The important thing is that the folder D: \ Video2Go \ files for one movie folder because you need to copy these files to only one film folder that is, for each film must be specially set the folder path and also to copy since they all file in one folder.

Example:
movie 100 Girls You can not copy the example to the folder where you movie CHISUM.

It is important that no spaces between words in the titles of movies(tested by me it works).

Ivek23:

It is best to do this as follows, for example,I did like this.

Starting portable PVD the new database and add a new movie only the title of the movie and the file path you wish to copy the folder D: \ Video2Go whereas in other cases then copying or moving of no problems that could go wrong adding (movie or any other file) to the folder of your choice.

Ivek23:
I do have a problem with copying files to a folder D: \ Video2Go copied the 100 files(text and jpg) and that no more.
What should I do to be copied all these files.

Ivek23:

--- Quote from: Ivek23 on January 06, 2011, 08:51:24 pm ---I do have a problem with copying files to a folder D: \ Video2Go copied the 100 files(text and jpg) and that no more.
What should I do to be copied all these files.

--- End quote ---

The most likely cause it not to copy the files from the movie file is incorrect address in the title of the movie folder and it addresses itself to a movie file or an incorrect path to the movie folders.
I think it was this (or something like that) somewhere in the other topics mentioned the need to harmonize the movie title folder and address of the movie and it should work (at least I think so).
In my case, this would be too time (about 500 movie file should be renamed or adjust the title of the movie folder and movies), so I'll probably figure for each film which files do I need copies of files for all of this as an individual [of course this long journey, but more sure that will not go wrong with the files (I have already experienced this), this has already happened and I had to copy new files (I have made copies of movie files)].

Navigation

[0] Message Index

[*] Previous page

Go to full version