Sfoglia il codice sorgente

feat: Remove empty Windows.old folder (#793)

Kroese 9 mesi fa
parent
commit
94a84b0c2d

+ 1 - 1
assets/win11x64-enterprise-eval.xml

@@ -448,7 +448,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>23</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">

+ 1 - 1
assets/win11x64-enterprise.xml

@@ -451,7 +451,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>23</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">

+ 1 - 1
assets/win11x64-iot.xml

@@ -457,7 +457,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>23</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">

+ 1 - 1
assets/win11x64-ltsc.xml

@@ -457,7 +457,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>23</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">

+ 1 - 1
assets/win11x64.xml

@@ -451,7 +451,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>23</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">

+ 1 - 1
assets/win2025-eval.xml

@@ -342,7 +342,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>22</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">

+ 1 - 1
assets/win2025.xml

@@ -345,7 +345,7 @@
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">
           <Order>22</Order>
-          <CommandLine>rd /q c:\Windows.old 2>nul</CommandLine>
+          <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
           <Description>Remove empty Windows.old folder</Description>
         </SynchronousCommand>
         <SynchronousCommand wcm:action="add">