In Windows batch files, I want to create a file named with the current date, but there can't be "/" in the file name, so I need to remove the "/" in the current date; that is, I want to convert "2006/10/10" into "20061010" to generate a "20061010.txt" file. I only know that set d=%date% can get the current date, but how to remove the "/"? Which expert knows?
[ Last edited by stableboy on 2006-10-11 at 06:08 ]
[ Last edited by stableboy on 2006-10-11 at 06:08 ]
