Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
assign file extension to a certain application
#4
Sorry to kick this topic up but in windows 7 this worked perfectly.
Recently I moved to windows 10 and the function generates an error, I used the F1 example of FileTypeRegister to try it in it's most basic form but it errors at the FileTypeRegister command:

Macro Macro40
Code:
Copy      Help
FileTypeRegister "vig" "vigfile" "Vig File" "shell32.dll,20" "notepad.exe ''%1''"

str s="test"
s.setfile("$desktop$\test.vig")
run "$desktop$\test.vig"


Also tried

Macro Macro40
Code:
Copy      Help
FileTypeRegister "vig" "vigfile" "Vig File" "d:\npp\notepad++.exe" "d:\npp\notepad++.exe ''%1''"

str s="test"
s.setfile("$desktop$\test.vig")
run "$desktop$\test.vig"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)