Cannot split the files, I think it should use the $parentFolder instead of the $SplitDir variable in the stitching part
mtamayoo opened this issue · comments
Unable to split file C:\path\largefile.txt: Exception calling "Open" with "2" argument(s): "Access to the path
'C:\path\Split' is denied."
At C:...\Test Run.ps1:123 char:9
-
throw "Unable to split file ${Path}: $_"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (Unable to split...it' is denied.":String) [], RuntimeException
- FullyQualifiedErrorId : Unable to split file C:\path\largefile.txt: Exception calling "Open" with "2" argument(
s): "Access to the path 'C:\path\Split' is denied."