Zip Folder

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(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...")
 
Line 3: Line 3:
  
 
'''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.
 +
 
'''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.
  

Revision as of 18:19, 24 June 2015

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 zipped, complete with the folder path.

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.

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.

Zipfol.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox