File tree Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Imports System.Text.RegularExpressions
55Imports Ookii.Dialogs 'Uses Ookii Dialogs for the non-archaic filebrowser dialog. http://www.ookii.org/Software/Dialogs
66
77Public Class Compact
8- Dim version = "1.3.4 "
8+ Dim version = "1.3.5 "
99 Private WithEvents MyProcess As Process
1010 Private Delegate Sub AppendOutputTextDelegate( ByVal text As String )
1111
@@ -53,7 +53,7 @@ Public Class Compact
5353
5454 Try
5555
56- If e.Data.Contains( "total bytes of data are stored in" ) Then 'Gets the output line that contains both the pre- and post-compression folder sizes
56+ If e.Data.Contains( "total bytes of data are stored in" ) Then 'Gets the output line that contains both the pre- and post-compression folder sizes
5757 byteComparisonRaw = e.Data
5858 End If
5959
@@ -361,12 +361,14 @@ Public Class Compact
361361
362362 Try
363363
364- MyProcess.StandardInput.WriteLine( "cd /d " + workingDir)
364+ MyProcess.StandardInput.WriteLine( "cd " + workingDir)
365365 MyProcess.StandardInput.Flush()
366366
367367 MyProcess.StandardInput.WriteLine( "" ) 'Required for the embedded console to show the next line in the buffer after the 'cd' command. No idea why
368368 MyProcess.StandardInput.Flush()
369369
370+ MyProcess.StandardInput.WriteLine( "chcp 437" )
371+ MyProcess.StandardInput.Flush()
370372
371373 RunCompact(passthrougharg)
372374
Original file line number Diff line number Diff line change @@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices
3232' by using the '*' as shown below:
3333' <Assembly: AssemblyVersion("1.0.*")>
3434
35- < Assembly : AssemblyVersion( "1.3.4 .0" )>
36- < Assembly : AssemblyFileVersion( "1.3.4 .0" )>
35+ < Assembly : AssemblyVersion( "1.3.5 .0" )>
36+ < Assembly : AssemblyFileVersion( "1.3.5 .0" )>
3737< Assembly : NeutralResourcesLanguage( "en" )>
You can’t perform that action at this time.
0 commit comments