![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | winzip After powershell gernerates some text files in a folder, i thought of using winzip to zip the folders. However i can't find winzip command lines. Or is powershell able to use microsoft zip technology ? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: winzip Hello IT, You can use write-zip from PSCX (www.codeplex.com/powershellcx) to compress files or folders, I use it to archive my scripts folder. --- Shay Levy Windows PowerShell MVP http://blogs.microsoft.co.il/blogs/ScriptFanatic PowerShell Toolbar: http://tinyurl.com/PSToolbar IS> After powershell gernerates some text files in a folder, i thought IS> of using winzip to zip the folders. IS> IS> However i can't find winzip command lines. IS> IS> Or is powershell able to use microsoft zip technology ? IS> |
My System Specs![]() |
| | #3 (permalink) |
| | Re: winzip couldn't find write-zip ...is there a exact url ? "Shay Levy [MVP]" <no@xxxxxx> wrote in message news:89228ed2501008cb0ca13fd9355d@xxxxxx Quote: > Hello IT, > > > You can use write-zip from PSCX (www.codeplex.com/powershellcx) to > compress files or folders, I use it to archive > my scripts folder. > > > --- > Shay Levy > Windows PowerShell MVP > http://blogs.microsoft.co.il/blogs/ScriptFanatic > PowerShell Toolbar: http://tinyurl.com/PSToolbar > > > IS> After powershell gernerates some text files in a folder, i thought > IS> of using winzip to zip the folders. > IS> IS> However i can't find winzip command lines. > IS> IS> Or is powershell able to use microsoft zip technology ? > IS> > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: winzip Hello IT, You can download the setup file here: http://www.codeplex.com/PowerShellCX...ReleaseId=2688 After you install it, type at the prompt: PS > Add-PSSnapin PSCX PS > help Write-Zip NAME Write-Zip SYNOPSIS Create ZIP format archive files from pipline or parameter input. SYNTAX Write-Zip -InputObject <PSObject> [[-OutputPath] <String>] [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Null able`1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] Write-Zip [-Path] <String[]> [[-OutputPath] <String>] [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Nullable` 1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] Write-Zip [-LiteralPath] <String[]> [[-OutputPath] <String>] [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Nu llable`1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] DETAILED DESCRIPTION Create ZIP format archive files from pipline or parameter input. RELATED LINKS REMARKS To see the examples, type: "get-help Write-Zip -examples". For more information, type: "get-help Write-Zip -detailed". For technical information, type: "get-help Write-Zip -full". --- Shay Levy Windows PowerShell MVP http://blogs.microsoft.co.il/blogs/ScriptFanatic PowerShell Toolbar: http://tinyurl.com/PSToolbar IS> couldn't find write-zip ...is there a exact url ? IS> IS> "Shay Levy [MVP]" <no@xxxxxx> wrote in message IS> news:89228ed2501008cb0ca13fd9355d@xxxxxx IS> Quote: Quote: >> Hello IT, >> >> You can use write-zip from PSCX (www.codeplex.com/powershellcx) to >> compress files or folders, I use it to archive >> my scripts folder. >> --- >> Shay Levy >> Windows PowerShell MVP >> http://blogs.microsoft.co.il/blogs/ScriptFanatic >> PowerShell Toolbar: http://tinyurl.com/PSToolbar >> IS> After powershell gernerates some text files in a folder, i >> thought >> IS> of using winzip to zip the folders. >> IS> IS> However i can't find winzip command lines. >> IS> IS> Or is powershell able to use microsoft zip technology ? >> IS> |
My System Specs![]() |
| | #5 (permalink) |
| | Re: winzip $WshShell = New-Object -ComObject WScript.Shell $wshshell.run("winzip32 -m c:\results.zip $dirpath") Is write-zip better or above better using existing winzip tools ? "Shay Levy [MVP]" <no@xxxxxx> wrote in message news:89228ed2505358cb0d4456b1d0da@xxxxxx Quote: > Hello IT, > > You can download the setup file here: > http://www.codeplex.com/PowerShellCX...ReleaseId=2688 > > > After you install it, type at the prompt: > > PS > Add-PSSnapin PSCX > PS > help Write-Zip > > NAME > Write-Zip > > SYNOPSIS > Create ZIP format archive files from pipline or parameter input. > > > SYNTAX > Write-Zip -InputObject <PSObject> [[-OutputPath] <String>] > [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Null > able`1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] > > Write-Zip [-Path] <String[]> [[-OutputPath] <String>] [-FlattenPaths] > [-IncludeEmptyDirectories] [-Level <Nullable` > 1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] > > Write-Zip [-LiteralPath] <String[]> [[-OutputPath] <String>] > [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Nu > llable`1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] > > > DETAILED DESCRIPTION > Create ZIP format archive files from pipline or parameter input. > > > RELATED LINKS > > REMARKS > To see the examples, type: "get-help Write-Zip -examples". > For more information, type: "get-help Write-Zip -detailed". > For technical information, type: "get-help Write-Zip -full". > > > > > --- > Shay Levy > Windows PowerShell MVP > http://blogs.microsoft.co.il/blogs/ScriptFanatic > PowerShell Toolbar: http://tinyurl.com/PSToolbar > > > IS> couldn't find write-zip ...is there a exact url ? > IS> IS> "Shay Levy [MVP]" <no@xxxxxx> wrote in message > IS> news:89228ed2501008cb0ca13fd9355d@xxxxxx > IS> Quote: Quote: >>> Hello IT, >>> >>> You can use write-zip from PSCX (www.codeplex.com/powershellcx) to >>> compress files or folders, I use it to archive >>> my scripts folder. >>> --- >>> Shay Levy >>> Windows PowerShell MVP >>> http://blogs.microsoft.co.il/blogs/ScriptFanatic >>> PowerShell Toolbar: http://tinyurl.com/PSToolbar >>> IS> After powershell gernerates some text files in a folder, i >>> thought >>> IS> of using winzip to zip the folders. >>> IS> IS> However i can't find winzip command lines. >>> IS> IS> Or is powershell able to use microsoft zip technology ? >>> IS> > |
My System Specs![]() |
| | #6 (permalink) |
| | Re: winzip Hello IT, I prefer native powershell cmdlet support so I'd go with PSCX. --- Shay Levy Windows PowerShell MVP http://blogs.microsoft.co.il/blogs/ScriptFanatic PowerShell Toolbar: http://tinyurl.com/PSToolbar IS> $WshShell = New-Object -ComObject WScript.Shell IS> $wshshell.run("winzip32 -m c:\results.zip $dirpath") IS> Is write-zip better or above better using existing winzip tools ? IS> IS> "Shay Levy [MVP]" <no@xxxxxx> wrote in message IS> news:89228ed2505358cb0d4456b1d0da@xxxxxx IS> Quote: Quote: >> Hello IT, >> >> You can download the setup file here: >> http://www.codeplex.com/PowerShellCX...eases.aspx?Rel >> easeId=2688 >> After you install it, type at the prompt: >> >> PS > Add-PSSnapin PSCX >> PS > help Write-Zip >> NAME >> Write-Zip >> SYNOPSIS >> Create ZIP format archive files from pipline or parameter input. >> SYNTAX >> Write-Zip -InputObject <PSObject> [[-OutputPath] <String>] >> [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Null >> able`1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] >> Write-Zip [-Path] <String[]> [[-OutputPath] <String>] [-FlattenPaths] >> [-IncludeEmptyDirectories] [-Level <Nullable` >> 1>] [-NoClobber] [-RemoveOriginal] [<CommonParameters>] >> Write-Zip [-LiteralPath] <String[]> [[-OutputPath] <String>] >> [-FlattenPaths] [-IncludeEmptyDirectories] [-Level <Nu llable`1>] >> [-NoClobber] [-RemoveOriginal] [<CommonParameters>] >> >> DETAILED DESCRIPTION >> Create ZIP format archive files from pipline or parameter input. >> RELATED LINKS >> >> REMARKS >> To see the examples, type: "get-help Write-Zip -examples". >> For more information, type: "get-help Write-Zip -detailed". >> For technical information, type: "get-help Write-Zip -full". >> --- >> Shay Levy >> Windows PowerShell MVP >> http://blogs.microsoft.co.il/blogs/ScriptFanatic >> PowerShell Toolbar: http://tinyurl.com/PSToolbar >> IS> couldn't find write-zip ...is there a exact url ? >> IS> IS> "Shay Levy [MVP]" <no@xxxxxx> wrote in message >> IS> news:89228ed2501008cb0ca13fd9355d@xxxxxx >> IS> Quote: >>>> Hello IT, >>>> >>>> You can use write-zip from PSCX (www.codeplex.com/powershellcx) to >>>> compress files or folders, I use it to archive >>>> my scripts folder. >>>> --- >>>> Shay Levy >>>> Windows PowerShell MVP >>>> http://blogs.microsoft.co.il/blogs/ScriptFanatic >>>> PowerShell Toolbar: http://tinyurl.com/PSToolbar >>>> IS> After powershell gernerates some text files in a folder, i >>>> thought >>>> IS> of using winzip to zip the folders. >>>> IS> IS> However i can't find winzip command lines. >>>> IS> IS> Or is powershell able to use microsoft zip technology ? >>>> IS> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
WinZip | Software | |||
| WinZip Question | Vista General | |||
winzip | General Discussion | |||
| winzip rar and other compression | Vista General | |||
| WinZip 10 in TaskBar | Vista General | |||