Hi Guys having a really hard time getting an environmental variable piped to clip.exe, in a regular command prompt it works but once in batch file it fails. I have tried escaping with double %%
and a few other tricks. Nothing seems to work.
I am trying to pipe the output of the citrix environmental variable %clientname%
to clip.exe like the following:
@echo off
echo %clientname% | clip