Link to home
Start Free TrialLog in
Avatar of deepak singla
deepak singla

asked on

Find unique values from a comma separated variables using a batch file.

I have two variables A and B, having values in a comma separated format. I am trying to find out the result, which is present in A, but not in B using a batch file.
@echo off
set A=1,2,3,4
set B=3,4,5,6

expected result: 1,2
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial