Touch- creating files in the wrong directory

Solution 1:

You're missing a slash - it should be:

touch /home/piotr/Desktop/folder/file{1..10}.txt