Hi ,
i try to capture task squence error file log and move it to a network folder but where i run this command line
cmd.exe /c rd /s /q z:\%OSDComputerName%
or
cmd.exe /c rd /s /q z:\%%_SMSTSMachineName%
the task sequence failed if the directory does not exist, instead it works fine if the directory already exist.
is there a parameter to force this command?
If i check the option "Continue on error" it works fine but successive step fails because it tries to create the same folder;
cmd.exe /c md z:\%_smstsmachinename%%
i try to capture task squence error file log and move it to a network folder but where i run this command line
cmd.exe /c rd /s /q z:\%OSDComputerName%
or
cmd.exe /c rd /s /q z:\%%_SMSTSMachineName%
the task sequence failed if the directory does not exist, instead it works fine if the directory already exist.
is there a parameter to force this command?
If i check the option "Continue on error" it works fine but successive step fails because it tries to create the same folder;
cmd.exe /c md z:\%_smstsmachinename%%
Last edited: