• make a small html file whatever.htm
<html lang="en">
    <body>
        
    </body>
</html>
  • use emmet shortcut to make a bunch of files - press TAB on a string template
<html lang="en">
    <body>
        p{alter tablespace MY_TS add datafile '/oradata/sid/my_ts_$$@01.dbf' size 64m autoextend on next 256m maxsize 30g;}*10<TAB>
    </body>
</html>

you'll get below, then you can copy out the generated commands to use.

<html lang="en">
    <body>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_01.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_02.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_03.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_04.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_05.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_06.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_07.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_08.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_09.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
        <p>alter tablespace MY_TS add datafile '/oradata/sid/my_ts_10.dbf' size 64m autoextend on next 256m maxsize 30g;</p>
    </body>
</html>