

If your presentation contains audio or video content, you can reduce those media file sizes to make your overall file size smaller. Send the compressed file to your intended recipient, who can then decompress the file just by clicking it.
#Create a zip folder zip file
Windows creates a new zip file and gives it an identical name as the PowerPoint file. Right-click the presentation, and select Send to > Compressed (zipped) folder.
#Create a zip folder how to
If you don’t see the Start button, move your mouse to the bottom-left corner of the screen.īrowse to the presentation you want to compress. Here you will see how to create zip file using maven build tool with the help of maven-assembly-plugin.Situation may occur while one of the multi-modules project may have a module with only some configuration files, such as, shell scripts, XMLs, properties or any other files that basically do not produce a meaningful jar file, because this sub-module project does not have any. Use the Windows Start menu: Right-click the Windows Start button, and select Open Windows Explorer (Windows 7) or File Explorer (Windows 8, Windows 8.1, and Windows 10). In Windows 8, use the keyboard shortcut: Press the Windows key + E on your keyboard. Open Windows Explorer (Windows 7) or File Explorer (Windows 8, Windows 8.1, and Windows 10) in one the following ways: Compress (zip) a presentation with Windows Explorer or File Explorer You can also compress the media files within the presentation so they're a smaller file size and easier to send. You can compress, or zip, the file in Windows, which shrinks the size of the file but retains the original quality of your presentation. When you want to send your PowerPoint presentation to others, it’s easier to do when the file size isn’t too big.

'Extract files from results.Outlook 2016 Outlook 2013 PowerPoint 2013 More. Sample usage, assuming results.zip is a valid zip file: WScript.Echo "Directory does not exist: " & dirToExtractFilesĭo Until <= d.Items.Count If Not fso.FolderExists(dirToExtractFiles) Then WScript.Echo "Zip file does not exist: " & pathToZipFile If (Not fso.FileExists(pathToZipFile)) Then Sub ExtractFilesFromZip(pathToZipFile, dirToExtractFiles)ĭirToExtractFiles = fso.GetAbsolutePathName(dirToExtractFiles) To extract files from a zip file, the following vbscript function reverse the process of creating one. The reason for a function to extract files from a zip file is coherent with the reason to create a zip file. 'Zip up the files in the results folder into a file named as results.zip Sample usage, assuming that the results folder had been created: ' for more information about the CopyHere function.ĭo Until d.Items.Count <= 'WScript.Echo "opening dir (" & dirToZip & ")" Set sa = CreateObject("Shell.Application") 'WScript.Echo "The directory to zip does not exist." 'WScript.Echo "That zip file already exists - deleting it." PathToZipFile = fso.GetAbsolutePathName(pathToZipFile)ĭirToZip = fso.GetAbsolutePathName(dirToZip) Set fso= Wscript.CreateObject("Scripting.FileSystemObject") 'WScript.Echo "Creating zip (" & pathToZipFile & ") from (" & dirToZip & ")" Set file = fso.CreateTextFile(pathToZipFile)įile.Write Chr(80) & Chr(75) & Chr(5) & Chr(6) & String(18, 0) 'WScript.Echo "Newing up a zip file (" & pathToZipFile & ") " I did some modification to the following vbscript functions that I got from a forum posting by Cheeso at. The following vbscript function will do just that. When you have automated tasks creating folders, you will want to delete them when you no longer need them. ' Create the current folder if the parent exists

' Call CreateFolder recursively to create the parent folderĬreateFolder(fso.GetParentFolderName(folderUrl)) If (Not fso.folderExists(fso.GetParentFolderName(folderUrl))) then Set fso = CreateObject("Scripting.FileSystemObject")įolderUrl = fso.GetAbsolutePathName(folderUrl) The following vbscript function will create parent folders if they do not already exist. For example, if you supply "a\b\c" as a parameter to the CreateFolder function, vbscript will throw an error when folder a or folder b does not exist. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name.

A new zipped folder with the same name is created in the same location. Press and hold (or right-click) the file or folder, select (or point to) Send to, and then select Compressed (zipped) folder. The CreateFolder function provided by the FileSystemObject does not create parent folders of the folder that you want to create. Locate the file or folder that you want to zip. Create folders recursivelyĪlthough there is a CreateFolder function provided by the FileSystemObject, there are times when we need to create folders within folders recursively. This post documents some useful functions that I had included in my scripts to deal with zip files and create folders. When it comes to task automation in the windows environment, vbscript is a very good scripting language to use. Handy vbscript functions for dealing with zip files and folders.
