Windows 10: specified file cant be found in cmd prompt dism

Discus and support specified file cant be found in cmd prompt dism in Windows 10 Software and Apps to solve the problem; i wanted to download net framework 3.5 then i got an error and searched it on yt and asked people abt it and at the end they told me to run dism... Discussion in 'Windows 10 Software and Apps' started by hashim gh, Jun 8, 2024.

  1. hashim gh Win User

    specified file cant be found in cmd prompt dism


    i wanted to download net framework 3.5 then i got an error and searched it on yt and asked people abt it and at the end they told me to run dism /online /cleanup-image /restorehealth && sfc /scannow and at the end it said it couldnt find the specified file and gave me error 3, what do i do now?

    :)
     
    hashim gh, Jun 8, 2024
    #1
  2. ItsRKM Win User

    CMD Prompt returns "The system cannot find the file specified" in "Documents" but it is there!

    I am trying to copy a file in my Documents folder using the CMD Prompt, however it returns an error "The system cannot find the file specified".

    This was part of an automated backup batch file which ran under the task scheduler every week, but stopped working after a recent Windows 10 update.

    I have tried to isolate the problem with simple steps.

    Step 1. I created a small text file called "test.txt" in the F:\Users\MyName\Documents folder (the C:\ drive is a small SSD which only contains Windows 10 and apps. All of my personal files are on this F:\ drive).

    Step 2. Using the Command Prompt, in Administrator mode, I navigate to the F:\Users\MyName\Documents folder and type "dir *.txt", which shows test.txt, among the other txt file types in that folder. So the file exists.

    Step 3. I type "Copy test.txt testcopy.txt", but this returns the error "The system cannot find the file specified", even though the file is still there and can be confirmed by typing dir *.txt again!

    Step 4. I type "Copy test.txt F:\testcopy.txt" and this works without error.

    Any idea why the system cannot find the file specified when the destination is the Documents folder, but seems OK with the root folder of the same drive?
     
    ItsRKM, Jun 8, 2024
    #2
  3. How to get damn DISM to work?

    you dont need the "esd" command unless your running an esd file type.

    i recommend if ytour just scanning to
    DISM /Online /Cleanup-Image /ScanHealth

    or DL an ISO , and run the command i linked above.
    DISM /Online /Cleanup-Image /RestoreHealth /sources:WIM:X:\sources\Install.wim:1 /LimitAccess
    "x" = drive letter.

    iso can be DL'd from here
    https://www.microsoft.com/en-us/software-download/techbench

    be certain to run elevated CMD prompt.
     
    jboydgolfer, Jun 8, 2024
    #3
  4. specified file cant be found in cmd prompt dism

    DISM cannot find the file specified

    1. Close all program windows.
    2. Download SFCFix.exe (by niemiro of Sysnative forums) and save this to your Desktop.
    3. Download SFCFixScript.txt and save it to your desktop.
    4. Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it. [See Screenshot]
    5. SFCFix will launch, let it complete.
    6. Once done, a file will appear on your desktop, called SFCFix.txt.
    7. Upload/share the logfile (SFCFix.txt) on OneDrive.

    Once done, re-run the DISM command-line.

    • DISM /online /cleanup-image /RestoreHealth
    If the same error occurs again, it means additional registry keys in the COMPONENTS hive are missing.

    In that case, do one of the following:

    1) Do a repair installation right away. It fixes these CBS/CSI issues automatically. See How to perform an In-place Upgrade with Windows 10 Step-by-Step Guide - Microsoft Community. Your apps, files, and settings will be kept by default.

    -or-

    2) Please repost the fresh CBS log (uploading the latest one in the CBS folder should be enough).
     
    Ramesh Srinivasan, Jun 8, 2024
    #4
Thema:

specified file cant be found in cmd prompt dism

Loading...
  1. specified file cant be found in cmd prompt dism - Similar Threads - specified file cant

  2. specified file cant be found in cmd prompt dism

    in Windows 10 Gaming
    specified file cant be found in cmd prompt dism: i wanted to download net framework 3.5 then i got an error and searched it on yt and asked people abt it and at the end they told me to run dism /online /cleanup-image /restorehealth && sfc /scannow and at the end it said it couldnt find the specified file and gave me error...
  3. DISM cannot find the file specified

    in Windows 10 Gaming
    DISM cannot find the file specified: Hey ive been trying to run DISM checkhealth and restorehealth, the checkhealth runs just fine but the restorehealth just error codes me, I can provide the logs if necessary but this has been goin on for a while now...
  4. DISM cannot find the file specified

    in Windows 10 Software and Apps
    DISM cannot find the file specified: Hey ive been trying to run DISM checkhealth and restorehealth, the checkhealth runs just fine but the restorehealth just error codes me, I can provide the logs if necessary but this has been goin on for a while now...
  5. DISM cannot find the file specified

    in Windows 10 BSOD Crashes and Debugging
    DISM cannot find the file specified: Hey ive been trying to run DISM checkhealth and restorehealth, the checkhealth runs just fine but the restorehealth just error codes me, I can provide the logs if necessary but this has been goin on for a while now...
  6. DISM Source Not specified?

    in Windows 10 BSOD Crashes and Debugging
    DISM Source Not specified?: Whenever i do sfc scan it says "Windows Resource Protection could not perform the requested operation". Then whenever i do dism health check it says to specify a source. I tried that also with both .esd and .wim file by specifuing it but still it is saying to specify the...
  7. Cmd prompt and cmd prompt csscript.exe

    in Windows 10 Ask Insider
    Cmd prompt and cmd prompt csscript.exe: Hello Lovely people,Im from the Netherlands so my english isnt that very good,But couple of days when i start my up i got an cmd prompt but its empty so it doesnt say anything it stays a few sec and then it goes away and then i get the cmd prompt but with cscript.exe and then...
  8. CMD Prompt returns "The system cannot find the file specified" in "Documents" but it is there!

    in Windows 10 Network and Sharing
    CMD Prompt returns "The system cannot find the file specified" in "Documents" but it is there!: I am trying to copy a file in my Documents folder using the CMD Prompt, however it returns an error "The system cannot find the file specified". This was part of an automated backup batch file which ran under the task scheduler every week, but stopped working after a recent...
  9. cmd could not find the file specified

    in Windows 10 Drivers and Hardware
    cmd could not find the file specified: CMD.exe could not find the file specified and the \ key changes into something else when using[IMG] https://answers.microsoft.com/en-us/windows/forum/all/cmd-could-not-find-the-file-specified/7016e6a0-b14a-46c4-98fe-b64146e3c791
  10. Dism source files not found

    in Windows 10 Performance & Maintenance
    Dism source files not found: I have several problems on my pc and want fix win10 without reinstalling all apps. When I run: Code: DISM.exe /Online /Cleanup-image /Scanhealth[/quote] I get Error 87. With: Code: DISM.exe /Online /Cleanup-image /CheckHealth[/quote] I get a message, that it can be...