Zip Folder
From UBot Studio
(Difference between revisions)
(Created page with " This function is an Advanced Text function in the UBot Extended Library. This function creates a zip file from a folder. '''Folder:''' The folder with the contents being...") |
|||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | This function is | + | This function is a [[Compression]] command in the UBot Extended Library. This function creates a zip file from a folder. |
− | '''Folder:''' The folder with the contents being zipped, complete with the folder path. | + | '''Folder:''' The folder with the contents being zipped, complete with the folder path. (C:\Users\Downloads\Stuff) |
− | '''File Name:''' The name of the resulting zipped file. Please be sure to include the entire file path and the .zip extension on the file name. | + | |
+ | '''File Name:''' The name of the resulting zipped file. Please be sure to include the entire file path and the .zip extension on the file name. (C:\Users\Downloads\Stuff.zip) | ||
== Example == | == Example == |
Latest revision as of 23:15, 24 June 2015
This function is a Compression command in the UBot Extended Library. This function creates a zip file from a folder.
Folder: The folder with the contents being zipped, complete with the folder path. (C:\Users\Downloads\Stuff)
File Name: The name of the resulting zipped file. Please be sure to include the entire file path and the .zip extension on the file name. (C:\Users\Downloads\Stuff.zip)
[edit] Example
zip folder("C:\\Users\\Downloads\\Stuff","C:\\Users\\Downloads\\Stuff.zip")
The specified folder is zipped and placed in the appropriate location.
Notice that the folder was zipped into the same location the folder "Stuff" is located in, which is the download folder.
It was Not zipped into the folder "Stuff". Avoid attempting to zip a folder into itself.