File size: 1,773 Bytes
44efec5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
HSLFileLibEx
=============================
https://github.com/theonetruenerd/VenusPackages/blob/main/HSLFilLibEx.pkg
HSLFilLibEx allows you to manipulate files. It adds the following functions:
- :ven:func:`FilCopyFileEx`
- :ven:func:`FilDeleteFileEx`
- :ven:func:`FilFormatReportFileEx`
.. ven:function:: FilCopyFileEx(variable SourceFilePathName, variable DestinationFilePathName)
This function creates a copy of the specified file, which will be placed in the specified new location
:params SourceFilePathName: The path to the file which you wish to copy, including the file name and extension
:params DestinationFilePathName: The path to which you would like to copy the file, including the file name and extension
:type SourceFilePathName: Variable
:type DestinationFilePathName: Variable
:return: None
:rtype: N/A
.. ven:function:: FilDeleteFileEx(variable FilePathName)
This function deletes the file at the specified location
:params FilePathName: The path to the file which you wish to delete, including file name and extension
:type FilePathName: Variable
:return: None
:rtype: N/A
.. ven:function:: FilFormatReportFileEx(variable SourceFilePathName, variable DestinationFilePathName)
This function creates a formatted/filtered copy of the specified report file. It searches the file for the string "Element Name" and copies any subsequent lines to the new file.
:params SourceFilePathName: The path to the file which you wish to format, including file name and extension
:params DestinationFilePathName: The path to the file you would like to create the formatted report in, including file name and extension.
:type SourceFilePathName: Variable
:type DestinationFilePathName: Variable
:return: None
:rtype: N/A
|