Computer Hope

Microsoft => Microsoft DOS => Topic started by: billp on March 12, 2006, 11:24:19 PM

Title: filename (with spaces) specification?
Post by: billp on March 12, 2006, 11:24:19 PM
i am getting rename command syntax error trying to rename a filename that has spaces embedded.
I can't find good information on how to specify such a filename.
thx, billp
Title: Re: filename (with spaces) specification?
Post by: Dilbert on March 12, 2006, 11:33:22 PM
Code: [Select]
Rename "Name of file with spaces".txt filename.txt
It's important that you have those quotes in there. It's not limited to txt files; I just chose that one because it's common.  8-)