Prev | Current Page 866 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

Since most file systems provide a minimum of two FATs, it??™s unlikely that you??™ll lose
the FAT.
Renaming a File with the Ren and Rename Commands
The Ren and Rename commands both let you rename files and directories (the Microsoft documentation
only mentions files, but the commands do work with directories). Using these commands is
370 CHAPTER 14 WORKING WITH DATA
definitely faster than renaming them manually using Windows Explorer when you have a lot of
files to change. These commands use the following syntax:
RENAME [drive:][path]filename1 filename2
REN [drive:][path]filename1 filename2
The following list describes each of the command line arguments.
drive Specifies the drive to use for the file or directory. The default is to use the current drive.
path Specifies the absolute or relative path to use for the file or directory. The default is to use
the current directory. However, you can specify an absolute or relative path as needed. See the
???Understanding Absolute and Relative Paths??? sidebar in Chapter 9 for additional details.
filename1 Defines the file or directory that you want to rename. You can use wildcard characters
with this command.


Pages:
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878
Futro sypialnia tworzenie stron internetowych betsson Caraudio