Closed Dunkelicht closed 2 years ago
update: 6.1 works fine for file size 320k, while 6.3 does not, I did not know why and how to debug it....
500kb for 6.1 shows:
Another bug, if compressed target does not exit, this script may dell this user all files listed in C:\users , it exits in 6.1. I did not test for 6.3. Be cautions.
some files could be txted, some not...
There must be something wrong with the configuration you're using,
because none of the issues you've mentioned have ever been reported,
and the script has been working for huge files just fine.
Maybe it's a copy-paste error? did you use Code
- Download ZIP
button in github?
In any case, in v6.4 I've changed a few things to hopefully prevent your issues
Thanks a lot for replying and updating!
As it crashes randomly, I think it is the encode reason. I all use BAT85 to prevent char like (*%.
What I try to encode file is a PDF: https://support.industry.siemens.com/cs/attachments/109479728/109479728_LGF_TIAV16_DOC_V5_0_0_en.pdf refer to : https://support.industry.siemens.com/cs/ww/en/view/109479728
I tried when region and language setting to Non-English like below and it still crashes...
In 6.4 the problem exists...
Thanks a lot for updating!
v6.5 at least fixed the issue with BAT85 (because BAT91 worked fine, that's what I personally use a lot)
v6.5 at least fixed the issue with BAT85 (because BAT91 worked fine, that's what I personally use a lot)
Thanks again for updating!
In windows 7 there is a also warning, but the BAT85 is working now.
I will test some other file as far as I could.
Yeah, no idea why that warning, I can't replicate it in my windows 7 vm
It's related to the cleanup part, so not critical (if you get leftover random-named folders you can clean them up manually)
Yeah, no idea why that warning, I can't replicate it in my windows 7 vm It's related to the cleanup part, so not critical (if you get leftover random-named folders you can clean them up manually)
Thanks for everything, please consider some protection for NULL input, it was dangerous, delete all C:\Users[UserName].
This issue could be closed by now.
the way SendTo works the input can't be null, isn't it?
but I do test anyway:
if (!(test-path -lit $($arg[0].Value.Trim('"')))) {write-host "ERROR! path not found" -fore Yellow; timeout -1; return}
for a large file more than 3mb, it said:
Neither works for win7 or win10.
but for BAT85, it works.
I need to paste to somewhere do not accept %*, so how do I fix it?
Thank you all!
`Unable to find type [BAT91]: make sure that the assembly containing this type is loaded. At line:8 char:56
Microsoft (R) File Expansion Utility Version 6.1.7600.16385 Copyright (c) Microsoft Corporation. All rights reserved.
Can't open input file: 1.
Remove-Item : Cannot find path 'C:_\7z\1' because it does not exist. At line:8 char:107