I'm trying to remove incoming quotes for a doskey macro that will let me use "export" as "set". Here's what I have:
doskey export=set $*
Except when I run with the following:
export VAR="value"
I end up with:
VAR="value"
vs what I wanted:
VAR=value
I think I have to write a little method of sorts to 'clean' the input to set but I don't know how to do that - something like "for (var1=var2) do set var1=~var2", but I can't get anything like that to work.
Help!