answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Can two files in a directory have name if they have different directories?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the directory name on computers?

C: is the main directory.In computing, a directory, catalog, folderor drawer is an entity in a file system, which contains a group of files and/or other directories. A typical file system may contain thousands (or even hundreds of thousands) of directories. Files are kept organized by storing related files in the same directory. A directory contained inside another directory is called a subdirectory of that directory. Together, the directories form a hierarchy, or tree structure.


What is a multi-level directory system?

A directory is a logical grouping of files. By maintaining several directories the file manager can permit the same file name to be used in separate directories to refer to independent copies of the same file or completely different files. The contents of a directory - a list of file names and their associated information - are stored in a special file called a directory file which is assigned a file name which distinguishes it from non-directory files. By allowing directory file names to appear alongside non-directory file names in a directory, the file manager is able to link separate directories hierarchically as shown in figure 1. The directory at the top of the structure is given the special name, ROOT because the hierarchical structure resembles an upside-down tree. The directories below the root directory are known as subdirectories. by earnie


How do you remove directory which is not empty?

rm -r directoryname this will remove the directory recursively, mean all the files and directories in the specified directory name umar, pakistan


What is a directory computer science?

A directory is a location for storing files on your computer. Directories are found in a hierarchical file system such asDOS, OS/2, Unix, etc. When referring to a directory, a user commonly indicates the name of the directory.


In ms dos which command can sort files in a directory list?

dir Lists all files and directories in the directory that you are currently in. dir /ad List only the directories in the current directory. If you need to move into one of the directories listed use the CD command. dir /s Lists the files in the directory that you are in and all sub directories after that directory, if you are at root "C:\>" and type this command this will list to you every file and directory on the C: drive of the computer. dir /p If the directory has a lot of files and you cannot read all the files as they scroll by, you can use this command and it will display all files one page at a time. dir /w If you don't need the info on the date / time and other information on the files, you can use this command to list just the files and directories going horizontally, taking as little as space needed. dir /s /w /p This would list all the files and directories in the current directory and the sub directories after that, in wide format and one page at a time. dir /on List the files in alphabetical order by the names of the files. dir /o-n List the files in reverse alphabetical order by the names of the files. dir \ /s |find "i" |more A nice command to list all directories on the hard drive, one screen page at a time, and see the number of files in each directory and the amount of space each occupies. dir > myfile.txt Takes the output of dir and re-routes it to the file myfile.txt instead of outputting it to the screen.


What is the command is used to remove directory in Linux?

Assuming the directory is in your Home directory use: rmdir directory-name This will fail if there are files within the directory. In this case, use rm -r directory-name.


What is the command to search all files in your current directory for the word 'computers'?

Different operating systems may have very different tools. On Linux and Unix-like systems, 'grep computers *' should do what you want.For Windows (XP in particular):In Windows Explorer (Windows Key-E), click the "Search" button on the toolbar... A search pane will appear on the left... Inthat pane, in the box under "Search for files and folders" type, "computers". All of the files with "Computers" in the name will be listed on the right-hand pane.Be sure not to include files in sub-directories/folders if you only want files from the open folder/directory.


Can you have two of the same exe file and each of their saved data is separate from each other?

Yes. Suppose the program name is foo. You do not need two copies of foo.exe, just two data directories. I will call them jack and jill. 1. If the directory for saved data is configurable through an environment variable, using foodir as an example, or on the command line, create two .bat files and a shortcut to run each. foo-jack.bat foodir=c:\jack foo foo-jill.bat foodir=c:\jill foo 2. If the directory is not configurable, the program might be using the current directory. Make sure the directory containing foo.exe is in the PATH and create two .bat files like this: foo-jack.bat cd \jack foo foo-jill.bat cd \jill foo


Which two commands can you use to delete directories?

AFAIK there's only one command to delete a directory. "rmdir" Removes the directory. If you only want to delete the content of the directory you can use "del <dir name>"


What is the windows name for a dos directory?

Microsoft started calling directories 'Folders' about the time that Windows 95 was written. People who still call them directories probably know how to use Edlin.


What is the directory in Linux?

One of the most noticable differences between Linux and Windows is the directory structure. Not only is the format different, but the logic of where to find things is different In Windows, you use this format to access a directory: C:\Folder1\subfolder\file.txt In Linux, this is the basic format: /Folder1/subfolder/file.txt You'll notice that the slashes are forward slashes in Linux versus backslashes in Windows. Also, there is no drive name (C:, D:, etc.) in Linux. At boot, the 'root partition' is mounted at /. All files, folders, devices and drives are mounted under /. Though it is not apparent from this example, it is important to note that files and folders in Linux are case sensitive. /Folder1/subfolder/file.txt is not the same as /folder1/subfolder/file.txt.


How find your uncle in London UK?

Telephone directories or directory enquiries may help - if the name is rare or you have some idea of the address.