|
Using the software
To use the File Manager software you simply highlight your selected cells
containing file and/or folder names, select your options and click 'Run'.
You need to understand the 'rules' outlined below in order to
use this effectively.
We strongly recommend that you take a close look at the demo
workbook provided with the software, which you can open using the drop-down at
the lower right of the PATools File Manager screen.
Please note: PATools cannot take any responsibility for your
use or misuse of this software, and any resultant cost or inconvenience, for
example from moving or deleting or renaming files or folders etc.
'Rules'
For all activities except 'Delete' you must choose a cell or
range of cells from within one column, and in one contigious block (ie a group
of cells next to each other).
- For 'Create', each selected cell should contain the full
path and name for the file or folder to be created. When creating files,
empty files will be created by default, but you can specify text contents to
be inserted from the cell immediately to the right of each selected cell.
- For 'Delete', only the selected cells will be evaluated.
- For 'Copy', 'Move' and 'Rename', each cell should contain
the source path and file/folder name, with the new destination file/folder name
specified in the cell immediately to the right of each one. If the adjacent
cell to the right is left blank then the previous destination will be used.
If you do not specify a path for the destination then the path of the source
will be assumed.
- For 'Rename' the path (if specified) must be the same as the original
file
To identify whether the destination is a file or a folder the software
applies the following logic:
- If the destination ends with a \ then it is a folder (eg c:\abc.txt\
will force the software to use or create a folder called abc.txt
- Otherwise the software looks to see if the destination exists in
which case it knows which it is
- Otherwise the software will look at the final 6 characters of the
destination - if they contain a dot then it will be a file, otherwise a
folder
Useful Functions
To help you create the destination paths and names easily, the
software includes 4 built-in functions that you can use, as follows:
(where cell A1 contains 'C:\test folder\test file.xls')
- =FilePath(a1) returns 'C:\test folder\"
- =FileName(a1) returns 'test file.xls'
- =FileBase(a1) returns 'test file'
- =FileExtn(a1) returns '.xls'
You may find these useful when combined with the Excel
'Concatenate' function (see Excel help on using this), or a briefer
alternative using the '&' (ampersand) character as in some of the demo
worksheets.
For most operations you can use standard wildcards eg c:\abc\*.txt or
c:\abc\file?.xls
Zipping
You can create empty zip files using the 'Create' option - simply set the
filenames to end in .zip
To copy or move files into zip files simply set the destination filenames to
end with .zip (and the source items of course must not). When copying into
zip files you can use any of the 4 options; moving is only supported by the
two Winzip options.
Supported programs are Windows zip (no additional software required),
Winzip and the free 7-Zip. We recommend you only use Winzip if it is
licensed otherwise you will have to maximise the Evaluation window and click
the button for each and every zip. You can also use the Winzip Command Line
AddOn which is faster (requires a licensed copy of Winzip but this is then
free to use). Windows zipping is free and requires no additional software
but has the disadvantage of being slow (due to running in a separate
process - we cannot work around that); Winzip and the AddOn are fine (see
http://winzip.com) but you need a licensed
copy which is not free; 7-Zip is fast and free for private or commercial use
(see http://7-zip.org). You select your
preferred option by clicking on the button and it will then validate the
location of the installed zip program - if you chose a different location
from the default you will be prompted to locate it.
NB When using wildcards proceed with care (we recommend you try first
with a test) since Windows zipping does not generally support wildcards,
Winzip and 7-Zip do, but for example they treat *.* differently.
Deleting
The 'Delete permanently' option uses the standard Windows permanent
deletion feature, which means the file still physically exists on your disk
until Windows needs to reutilise that space. Therefore although you cannot
see the file it could probably still be recovered using third party software
for that purpose (search the web for Undelete or File Recovery). Only
specific software for 'shredding' your files will actually completely remove
files.
'Delete to Recycle Bin' again uses standard Windows functionalilty, so
this software will only delete files to the Recycle Bin if Windows can do
that task; normally this means only from local fixed disks, with removable
media and network disks removing 'permanently' as above.
top |