Back!
Creating a filelist out of a DOS directory
listing:
Note: this is now obsolete because list generation
is done automatically by the script. (Go
to filelist creation) Anyway, you may want to do it by hand, so here
follows the description:
For any type of file, you can use the DOS command input:
-
run the DOS prompt (Start => Programs => MS-DOS Prompt)
-
change to the desired drive and directory (examples of useful commands):
c: (change to c:)
cd dirname (change directory)
cd.. (move one dir downwards)
-
run the dir command and let write the output to a text file:
dir *.* /s /on > files.txt (makes a file of all
filenames in this dir and its subdirs, names ordered)
dir *.mp3 /s /on > files.txt (makes a file with
only the mp3 filenames)
Note: the file extension has to be TXT for the script to recognize
it.
See Screenshot
-
Before you klick the "create list files" button on the fileshare panel
you must set the basefiledir variable. See
settings (most times this will be the directory name which you made
your dir listing of). If the dir list does not work for any reason, please
send
the list to me, may be it has some other format that is currently not
recognized by the script.
You also have to set the listfile variable. See
how to do this
-
type in the PIRCH input line: /runscript [fileshare] reset (if
it doesn't work, type /compile [fileshare] first).
-
A window labelled "Fileshare Monitor" should appear. (if not, check if
the script is installed properly in the aliases section)
-
Klick the button Create list files... , then Other Listfile.
A file selector window pops up.
NOTE: Your nick should now be the one you intend to use when the script
is active.
-
Select the "mother" filelist you have made in the above step. Screenshot
-
See a line counter count upwards. When finished there appears something
like this in the "Actions" field:
30.03.99 02:00:07 new list files generated
list files generation complete, number of files: 351,1477 MegaBytes
total
paths list: D:\Programme\pirch98\fileshare\paths.txt
send list: D:\Programme\pirch98\fileshare\SCHNECK_FILELIST.txt
plain list: D:\Programme\pirch98\fileshare\filelist.txt
As you can see, there were three text files generated. These can be
viewed with any text editor.
More about the
files
Back to Top!
Creating a filelist when files are spread
over several drives / directories:
Note: this is now obsolete because list generation
is done automatically by the script. Go to
filelist creation Anyway, you may want to do it by hand, so here follows
the description:
This is quite easy... use the DOS DIR method to
make separate listings and then connect them.
example:
Let's have our desired files in three directories:
all JPG files in c:\ and subdirs
all MP3 files in d:\tori_amos\
all MP3 files in d:\mp3\ and its subdirs
Now we run the DOS prompt (Start => Programs => MS-DOS Prompt), make
DIR lists and connect them to one file:
c: (change drive)
cd\ (go to root directory; note: these steps are
not essentially necessary, depends upon where you want your listfile finally
to be)
dir *.jpg /s /on > Cjpeg.txt (make dir listing
of all jpg files in c: and write it to Cjpg.txt; /s = include subdirectories,
/on = order by name)
dir d:\tori_amos\*.mp3 /on > ToriMp3.txt (make
dir listing of d:\tori_amos\ and write to ToriMp3.txt)
dir d:\mp3\*.mp3 /s /on > Mp3.txt (make dir listing
of all .mp3 files in d:\mp3, including subdirs and write it to Mp3.txt)
copy Cjpg.txt + ToriMp3.txt + Mp3.txt allfiles.txt (copy
all three files to one file named allfiles.txt)
example screenshot
Now we set the basefiledir variable to "empty" ( basefiledir=
)
because our files do not have a common root. See
settings
That's all!
Back to Top!
MS-DOS prompt: how to make a filelist
Back
Make a filelist from different drives:
Back
...choosing the file with the selector
Back