echo %ERRORLEVEL%
9
The system waits for Start.exe to finish, which in turn waits for “cmd /c exit 9″ to finish, and then the exit status 9 is returned all the way back.
删除操作分为两个阶段:
Phase 1 scans the contents of the sandbox and processes files which could pose a problem during the second phase:
Junctions (also known as reparse points) are removed.
Read-only files and directories are made fully Accessible.
Files and directories that have very long names are renamed to shorter names.
Renames the sandbox to the format __Delete_(sandbox name)_(some random number)_. For example, if the sandbox is DefaultBox, it could be renamed to __Delete_DefaultBox_01C4012345678912.
Phase 2 deletes any sandboxes that were processed in phase 1.
Sandboxes that were processed in phase 1 are those that have been renamed as described above.
More than one sandbox may be deleted in phase 2.
By default, the standard system command RMDIR is used to delete the renamed sandbox folder.
Alternatively, a third-party delete utility may used.