Windows 8 and 8.1 Forums

File associations plus extra arguments?

  1. #1

    File associations plus extra arguments?


    I need to be able to click on a .vnc file and have W8 run

    vncviewer.exe -config [that file I just clicked on] .

    or literally, vncviewer.exe -config "%1" if this were windows XP

    But I can only select the program to run it, and not add these extra arguments or commands as part of it.

      My System SpecsSystem Spec

  2. #2

    Posts : 2,071
    Windows 8.0 x64

    I don't know why the edit applet was removed. I haven't found a work-around other than creating a .cmd file with the argument. As example:

    @echo off
    x:\path\vncviewer.exe -config "%1"

    save as RunVnc.cmd
    and do an Open With...
    to set it as default

    Edit the other way it to make a shortcut with target
    x:\path\vncviewer.exe -config "%1"

    and drag the file onto it
      My System SpecsSystem Spec

File associations plus extra arguments?

Similar Threads
Thread Forum
Default File Associations - Restore in Windows 8
How to Restore Default File Extension Type Associations in Windows 8 and 8.1 This tutorial will allow you to restore the default registry entries and program associations for the file extension type and protocol of your choice in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1. This...
How to recover from losing ALL file associations
I recently contracted a virus which seems to have eliminated ALL my file associations. I've confirmed that .LNK, .EXE, .COM, and .BAT associations are gone. All proposed fixes to re-associate .EXE files don't work for me, because of all the other associations I've lost. I have been able to...
General Support
file associations, adding new ones 8.1
isn't it wonderful how the new windows complicates things that used to be so simple? installed 7zip today, found it wouldn't open anything set associations in the program, windows won't accept it opened control panel set associations and of course the archives i was looking for aren't...
General Support
File associations changing
I have all my images pics associated with Irfanview. Every now and then, its resets to Windows Picture and Fax Viewer. Does anybody know why? I have to go back to program defaults and make Irfan View default. Its happened twice in the last 10 days. I've not associated any image files with any other...
General Support
Change file type associations?
I've already tried several things here. Default programs> Set your default programs > (Program name goes here) > Choose defaults for this program. Even though Firefox is already registered with file types such as: .html, .htm, .ftp, etc, it won't let me uncheck them as well as for other...
General Support
File type associations?
How can I change file type associations in Windows 8? For example .jpg files open in Photos app, fine, but when I right-click and choose "edit" Paint opens up. I want to change it from Paint to Photoshop and there seems to be no way to do that. In Windows 7 I used Creative Elements Power...
General Support
How can I back up windows file extension associations ?
It seems to me that windows 8 is fragile as to file extensions and changing default programs. Therefore, I want to save all file associations in the registry and be able to undo any mistakes I could make. Any ideas?
Performance & Maintenance

Eight Forums Android App Eight Forums IOS App Follow us on Facebook