Windows 10: If there are two instances of the same file within a file/directory, how does the...

Discus and support If there are two instances of the same file within a file/directory, how does the... in Windows 10 Network and Sharing to solve the problem; For example: -If you have this file path: Game > Controls -And I copy the entire "Controls" file into a new folder within Game, called... Discussion in 'Windows 10 Network and Sharing' started by DaveCrete, Nov 30, 2020.

  1. DaveCrete Win User

    If there are two instances of the same file within a file/directory, how does the...


    For example:


    -If you have this file path:​


    Game > Controls


    -And I copy the entire "Controls" file into a new folder within Game, called "Modifications", so now I have:​


    Game > Modifications > Controls


    How does the application know to use the "Controls" filewithin "Modifications" compared to the original "Controls" file? I'm asking not necessarily to know if it will work or not, because I know it does work, I'm just asking how the computer/application makes the distinction and more importantly why it chooses the right one.​


    For context, this is directly referring to adding modifications to game files within Grand Theft Auto V, and making a "mods" folder in case there is a game breaking issue I can delete the "mods" folder where I had made changes to the "x64" and "update" folders.​

    :)
     
    DaveCrete, Nov 30, 2020
    #1
  2. 95Viper Win User
    95Viper, Nov 30, 2020
    #2
  3. oily_17 Win User
    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Nov 30, 2020
    #3
  4. Squirrely Win User

    If there are two instances of the same file within a file/directory, how does the...

    Gathering Names Of Multiple Files

    Try this snippit in a batch file:

    You have to specify where to go with the batch file, which is what the cd command is for. Then, once the prompt is in that directory, the last command lists all of the files (including directories) in the list_of_files.txt text file, since dir is a command, not the directory location. *Smile If there are two instances of the same file within a file/directory, how does the... :)

    Edit: Also, if your directory has spaces, you may have to put the directory in quotes, such as:

     
    Squirrely, Nov 30, 2020
    #4
Thema:

If there are two instances of the same file within a file/directory, how does the...

Loading...
  1. If there are two instances of the same file within a file/directory, how does the... - Similar Threads - are instances same

  2. Two instances of the same OneDrive in explorer in W11

    in Windows 10 Gaming
    Two instances of the same OneDrive in explorer in W11: I have two instances of onedrive in my windows file explorer that's the same onedrive folder one after another what can be the cause of this?i tried linking and unlinking it did not work....
  3. Two instances of the same OneDrive in explorer in W11

    in Windows 10 Software and Apps
    Two instances of the same OneDrive in explorer in W11: I have two instances of onedrive in my windows file explorer that's the same onedrive folder one after another what can be the cause of this?i tried linking and unlinking it did not work....
  4. Open multiple notebad instances of the same file

    in Windows 10 Gaming
    Open multiple notebad instances of the same file: I recently started to encounter a problem with notepad as it doesn't allow me to open multiple instances of the same file which is becoming a kind of nightmare for me.For example, I use notepad to open files with .PCR extension which is used for fullprof software. this...
  5. Open multiple notebad instances of the same file

    in Windows 10 Software and Apps
    Open multiple notebad instances of the same file: I recently started to encounter a problem with notepad as it doesn't allow me to open multiple instances of the same file which is becoming a kind of nightmare for me.For example, I use notepad to open files with .PCR extension which is used for fullprof software. this...
  6. How do I open multiple instances of the same file?

    in Windows 10 Gaming
    How do I open multiple instances of the same file?: I have a job where I need to use a template to use over and over again. At first, I did this with notepad for more than 3 years, I'd open multiple instances up to 16 of the same file to edit and fill out before copy and pasting into the necessary areas for work. But as of a...
  7. How do I open multiple instances of the same file?

    in Windows 10 Software and Apps
    How do I open multiple instances of the same file?: I have a job where I need to use a template to use over and over again. At first, I did this with notepad for more than 3 years, I'd open multiple instances up to 16 of the same file to edit and fill out before copy and pasting into the necessary areas for work. But as of a...
  8. Two instances of OneDrive in file explorer

    in Windows 10 Network and Sharing
    Two instances of OneDrive in file explorer: HelloOn Monday I opened File Explorer on this laptop and noticed straight away that there were two instances of ondrive as you can see in the screenshot. I believe the first instance to be a duplicate of the 2nd. Today it is still there.I have not done anything apart from...
  9. Two instances of OneDrive in file explorer

    in Windows 10 Gaming
    Two instances of OneDrive in file explorer: HelloOn Monday I opened File Explorer on this laptop and noticed straight away that there were two instances of ondrive as you can see in the screenshot. I believe the first instance to be a duplicate of the 2nd. Today it is still there.I have not done anything apart from...
  10. Two instances of OneDrive in file explorer

    in Windows 10 Software and Apps
    Two instances of OneDrive in file explorer: HelloOn Monday I opened File Explorer on this laptop and noticed straight away that there were two instances of ondrive as you can see in the screenshot. I believe the first instance to be a duplicate of the 2nd. Today it is still there.I have not done anything apart from...