How can I do the following in a Windows batch file?
- Write to a file called subdir/localsettings.py
- Overwrite all existing content...
- ...with multiple lines of text...
- ...including a string that is "[current working directory]/subdir" (which I think might be
%cd%/subdir
?)
Please note, I want to do this as part of a batch script so I can't use con
+ Enter (at least, maybe I can, but I don't know how to simulate Enter as part of a batch script).
Thanks!