Skip to content

Commit 56b3ceb

Browse files
Folder Creation Error
Fixed Folder Creation error
1 parent 1ab0dda commit 56b3ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LT-ScriptExport.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Function Export-LTScript {
650650
$ParentFolderName = $ParentFolderName.Replace('|','')
651651
$ParentFolderName = $ParentFolderName.Replace('?','')
652652

653-
$FilePath = "$BackupRoot\$($ParentFolderName)\$($ScriptFolderName)"
653+
$FilePath = "$BackupRoot\$($ParentFolderName)\$($($FolderData.Name))"
654654

655655
try {
656656
#Create folder

0 commit comments

Comments
 (0)