if im in the root directory and jdk1.4.0_03 is at c:\jdk1.4.0_03.How to change the directory in the command prompt if the directory's name is too long and has a period (.)
type a few words of the file/folder name and press tab, the rest of file name will be shown, if it's not what you want, press tab again until u find it .How to change the directory in the command prompt if the directory's name is too long and has a period (.)
At a DOS command prompt you should be able to enter the name of the directory as you have it listed.
If you're at the root of C:, then
cd jdk1.4.0_03
..or
cd \jdk1.4.0_03
..or
cd ';jdk1.4.0_03';
The only time that I know of that you would not be able to do this is if there is a filename at the root with that name. In which case you would get an error that reads, ';The directory name is invalid.'; when trying to change into the directory.
No comments:
Post a Comment