viernes, 17 de enero de 2020

Set portable software as default program in Windows 10

Method 1:(Provided from second article)

Using the commands — assoc and ftype
First, open the command line enviroment as admin and find the current setting for current file using assoc
assoc .txt
Here I get the output
.txt=txtfile
Second, set the association to desired program path
ftype txtfile="G:\Program Files\Windows NT\Accessories\wordpad.exe" "%1"
Noting that he “%1” is nessesary to bring the file as input to open the program.
Then, every time you click the file, you will open the desired program to open the file

Method 2: using the Nirsoft’s FileTypesMan

Download this useful progrma, open it, and find the target filetype(shown below):
In the lower area, click on the “open” entry, end edit hte open way (shown below)
And edit the command-line path with desired program position, also remember to add “%1” to set file name as input for the program, like below:
And next time clicking on the file should open with assigned program.

No hay comentarios:

Publicar un comentario

Cambiar tamaño de fuente al reducir la ventana (HTML / CSS)

Cambiar el tamaño del texto a medida que se reduce el tamaño de la ventana (HTML5 / CSS3)   . container { border : solid 1px blue ; ...