Minecraft portable not working?

wi
1

I start it from the .bat file but it always takes% Appdata% what am I doing wrong?

I entered this:

set APPDATA =% CD% \ data
minecraft.exe

Ta

Try% appdata% that always works for me