|
Answer» how can i create files in ms dos and then save it or copy it to DIFFERENT location?You can use notepad. Maybe I do not understand your question. If you are using Windows 7, you must mean the command line. Do you want to invoke Notepad from a command line? c:\start notepad But if you have a very old version of DOS there is an old program CALLED EDIT. c:\edit
Is that what you want? you can use the redirect symbols ">" ">>" to create a text file from the output of commands. you can use "copy con FILENAME.txt" to type a text file directly in the command line window (though "start notepad.exe" is much easier to use) you can use "Edit FILENAME" (windows XP is the last version to have it I think [don't know about vista])
to copy you use "copy ORIGINAL_FILE NEW_LOCATION" to move you use "move ORIGINAL_FILE NEW_LOCATION"
If your file's path contains spaces, put quotation marks around the WHOLE thing. example -> 'copy "C:\users\lemonilla\documents\my documents\batch testing stuff\file1" C:\users\lemonilla\documents\bat\file1'
|