diff --git a/xCAT-server/lib/xcat/plugins/windows.pm b/xCAT-server/lib/xcat/plugins/windows.pm index 71b156166..b5a3a31c3 100644 --- a/xCAT-server/lib/xcat/plugins/windows.pm +++ b/xCAT-server/lib/xcat/plugins/windows.pm @@ -89,7 +89,7 @@ sub mkimage { print $shandle "net use /delete i:\r\n"; print $shandle 'net use i: %IMGDEST% %PASSWORD% /user:%USER%'."\r\n"; print $shandle 'mkdir i:\images'."\r\n"; - print $shandle 'mkdir i:\images\'.$ent->{arch}."\r\n"; + print $shandle 'mkdir i:\images'."\\".$ent->{arch}."\r\n"; print $shandle "imagex /capture c: i:\\images\\".$ent->{arch}."\\".$ent->{profile}.".wim ".$ent->{profile}."_".$ent->{arch}."\r\n"; print $shandle "IF %PROCESSOR_ARCHITECTURE%==AMD64 GOTO x64\r\n"; print $shandle "IF %PROCESSOR_ARCHITECTURE%==x64 GOTO x64\r\n";