| 1. |
Solve : naming file name dynamicaly in dos? |
|
Answer» i need to assign a text file name into a variable in dos command. the text file name is created based on date. like 020809.txt Tomorrow the file name will be 030809.txt How can i assign this type of text file name into a variable in dos command?please correct me if i am wrong, but do you want to get the date from 1/23/45 to 12345? @echo offThis isn't one DOS command, it is a group of them. They can be used in a batch file (.bat file). Paste the script into NOTEPAD (Notepad.exe) and save it as script.bat (but it could anything you want .bat), double-click the NEWLY created file and let it do it's thing. |
|