Creating Multiple data files with spaces in the filename

Hi,

I have a list of filenames in the format with Spaces in the filename.

As an example :

Sample File 1.txt
Sample File 2.txt
Sample File 3.txt.....I have about 100 files like this.

I am trying to create a block of code or use an available command to a) Create a file b) Put in some data in each file.

Suggestions would be much appreciated.
Thanks

>'any file name you want' works for me. I especially like the directory '. ' when borrowing space! If you put file names or paths in variables, "$dingy_with_spaces" is the trick. They are just spaces, and when quoted lose their whitespace nature.

Not quite sure what you require but perhaps bash shell this example can assist:

for file in "Sample File "{1..100}.txt
do
    echo "Your age is $((RANDOM % 70))" > "$file"
done