I'm creating a hello_world.txt in the desktop using echo in command prompt and this is my input.
echo hello world > C:\Users\user\Desktop\hello_world.txt
The first code works, then I try %userprofile% if example, I want to give it to another user.
echo hello world > C:\Users\%userprofile%\Desktop\hello_world.txt
Doesn't work. Any simple echo command line to create text file?
command line
? Cygwin under Windows? cmd.exe? – Rentrollgit bash
. You'll have fast all the linux command, and lines likeecho hello world > C:\Users\user\Desktop\hello_world.txt
will normaly work ;) – Greenhorn%userprofile%
by doing ech %userprofile% in your commande line – Aluino