0
set M1=R1
set M2=R2
set Obj.%M1%.%M2%=hi

set V1=% Obj.%M1%.%M2%%
echo %V1%

I hope this code print ‘hi’, but it failed. In my project, I need M1 and M2 to control which member of Obj to show its value, is it possible to implement this?

user2799433
  • 171
  • 11

0 Answers0