batch file - Escape an asterisk in DOS -
i rename file in dos. result, dot , asterisk should appended file name. example:
rename text.log text.log.* however returns:
text.log.. i have tried escape * follows:
rename text.log text.log.\* but no way! guys know how can rename file appending .* string text.log using cmd shell?
thanks!
you can't - * reserved character , cannot used in filename.
https://en.wikipedia.org/wiki/filename#reserved_characters_and_words
Comments
Post a Comment