Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Jul 10, 2023
1 parent ea59739 commit 65db733
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 36 deletions.
12 changes: 6 additions & 6 deletions src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7278,7 +7278,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Desktop -FolderPath "$($Choice)\Desktop" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7306,7 +7306,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Documents -FolderPath "$($Choice)\Documents" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7334,7 +7334,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Downloads -FolderPath "$($Choice)\Downloads" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7362,7 +7362,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Music -FolderPath "$($Choice)\Music" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7390,7 +7390,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Pictures -FolderPath "$($Choice)\Pictures" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7418,7 +7418,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Videos -FolderPath "$($Choice)\Videos" -RemoveDesktopINI
}
Expand Down
12 changes: 6 additions & 6 deletions src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -5913,7 +5913,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Desktop -FolderPath "$($Choice)\Desktop" -RemoveDesktopINI
}
Expand Down Expand Up @@ -5941,7 +5941,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Documents -FolderPath "$($Choice)\Documents" -RemoveDesktopINI
}
Expand Down Expand Up @@ -5969,7 +5969,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Downloads -FolderPath "$($Choice)\Downloads" -RemoveDesktopINI
}
Expand Down Expand Up @@ -5997,7 +5997,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Music -FolderPath "$($Choice)\Music" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6025,7 +6025,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Pictures -FolderPath "$($Choice)\Pictures" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6053,7 +6053,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Videos -FolderPath "$($Choice)\Videos" -RemoveDesktopINI
}
Expand Down
12 changes: 6 additions & 6 deletions src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -6303,7 +6303,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Desktop -FolderPath "$($Choice)\Desktop" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6331,7 +6331,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Documents -FolderPath "$($Choice)\Documents" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6359,7 +6359,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Downloads -FolderPath "$($Choice)\Downloads" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6387,7 +6387,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Music -FolderPath "$($Choice)\Music" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6415,7 +6415,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Pictures -FolderPath "$($Choice)\Pictures" -RemoveDesktopINI
}
Expand Down Expand Up @@ -6443,7 +6443,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Videos -FolderPath "$($Choice)\Videos" -RemoveDesktopINI
}
Expand Down
12 changes: 6 additions & 6 deletions src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7281,7 +7281,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Desktop -FolderPath "$($Choice)\Desktop" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7309,7 +7309,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Documents -FolderPath "$($Choice)\Documents" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7337,7 +7337,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Downloads -FolderPath "$($Choice)\Downloads" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7365,7 +7365,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Music -FolderPath "$($Choice)\Music" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7393,7 +7393,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Pictures -FolderPath "$($Choice)\Pictures" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7421,7 +7421,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Videos -FolderPath "$($Choice)\Videos" -RemoveDesktopINI
}
Expand Down
12 changes: 6 additions & 6 deletions src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7186,7 +7186,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Desktop -FolderPath "$($Choice)\Desktop" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7214,7 +7214,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Documents -FolderPath "$($Choice)\Documents" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7242,7 +7242,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Downloads -FolderPath "$($Choice)\Downloads" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7270,7 +7270,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Music -FolderPath "$($Choice)\Music" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7298,7 +7298,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Pictures -FolderPath "$($Choice)\Pictures" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7326,7 +7326,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Videos -FolderPath "$($Choice)\Videos" -RemoveDesktopINI
}
Expand Down
12 changes: 6 additions & 6 deletions src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7188,7 +7188,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Desktop -FolderPath "$($Choice)\Desktop" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7216,7 +7216,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Documents -FolderPath "$($Choice)\Documents" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7244,7 +7244,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Downloads -FolderPath "$($Choice)\Downloads" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7272,7 +7272,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Music -FolderPath "$($Choice)\Music" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7300,7 +7300,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Pictures -FolderPath "$($Choice)\Pictures" -RemoveDesktopINI
}
Expand Down Expand Up @@ -7328,7 +7328,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int

switch ($Choice)
{
{$DriveLetters -contains $Choice}
{$DriveLetters -notcontains $Skip}
{
Set-UserShellFolder -UserFolder Videos -FolderPath "$($Choice)\Videos" -RemoveDesktopINI
}
Expand Down

0 comments on commit 65db733

Please sign in to comment.