This file does not have an app associated with it

Page 2 of 2 FirstFirst 12

  1. Posts : 83
    Window 10
    Thread Starter
       #11

    There is now another problem which is worse. Now when I try to run the par files to establish a file that is missing it get this message.
    This file does not have an app associated with it-file-does-not-have-app-associated-windows-10-forums-google-chrome-005861.jpg

    Things have gone from fixed to no longer works... Any idea how to correct this. I am beginning to think this machine has a virus.
      My Computer


  2. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #12

    Looks like the same problem to me. The stand alone version apparently does not set itself up as the handler for PAR2 files. You need an installed program for that.

    Edit: Or maybe look at the assoc and ftype commands, see if you can set the file association for .par2 to the standalone program. What is the full path to the program executable?

    >assoc /?
    Displays or modifies file extension associations

    ASSOC [.ext[=[fileType]]]

    .ext Specifies the file extension to associate the file type with
    fileType Specifies the file type to associate with the file extension

    Type ASSOC without parameters to display the current file associations.
    If ASSOC is invoked with just a file extension, it displays the current
    file association for that file extension. Specify nothing for the file
    type and the command will delete the association for the file extension.

    ftype /?
    Displays or modifies file types used in file extension associations

    FTYPE [fileType[=[openCommandString]]]

    fileType Specifies the file type to examine or change
    openCommandString Specifies the open command to use when launching files
    of this type.

    Type FTYPE without parameters to display the current file types that
    have open command strings defined. FTYPE is invoked with just a file
    type, it displays the current open command string for that file type.
    Specify nothing for the open command string and the FTYPE command will
    delete the open command string for the file type. Within an open
    command string %0 or %1 are substituted with the file name being
    launched through the assocation. %* gets all the parameters and %2
    gets the 1st parameter, %3 the second, etc. %~n gets all the remaining
    parameters starting with the nth parameter, where n may be between 2 and 9,
    inclusive. For example:

    ASSOC .pl=PerlScript
    FTYPE PerlScript=perl.exe %1 %*

    would allow you to invoke a Perl script as follows:

    script.pl 1 2 3

    If you want to eliminate the need to type the extensions, then do the
    following:

    set PATHEXT=.pl;%PATHEXT%

    and the script could be invoked as follows:

    script 1 2 3
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:06.
Find Us




Windows 10 Forums