File in DOS.
See What are Redirection Operators in Dos with example and how-to?
in a for loop:
%%~nf
%~fI
Dos - Attrib Command (File Attributes)
del myFile.txt
See:
rename myFile.txt myRenameFile.txt
TYPE filename
type will display the contents of a text file or files.
takeown /?
By using the type command and the redirections operators, you can concatenate files.
Example that add the content of file1.txt in file2.txt
type file1.txt >> file2.txt
See fc Compares two files or sets of files, and displays the differences between them.
How to create:
set PATHEXT=%PATHEXT%;.PY
assoc .py=Python.File
ftype Python.File=c:\Python27\python.exe "%1" %*
where:
Recursively with xcopy (a better version of copy)
xcopy C:\source D:\target\path /s /e /h /y
where:
See for details over the options