I've try it... here is the code... and it still only does half of the job...

Dim $EXEC
$EXEC = '%COMSPEC% /c "\\s-netstorage\OfflineMigrationLog$\Tools\csccmd.exe /moveshare:\\' + $OLDSERVERNAME + '\' + $SHARENAME + '\' + @USERID + ' \\' + $NEWSERVERNAME + '\' + $SHARENAME + '\' + @USERID + '"'
? $EXEC ?
Shell $EXEC
?
? @ERROR + " | " + @SERROR ?

BTW sorry if the post appear twice, but since my last login the 3 last post as dissapear???

ML