Change Default Program for file - Command line or Registry

ساخت وبلاگ

Please follow the steps.

  1.        Open an elevated command promote(Run as Administrator).
  2.        Use FTYPE {fileType}={commandString} to creat a file type and associated command to open the file.
  3.        Use ASSOC {.fileExtension}={fileType}

 

For example:

assoc .txt=txtfile

ftype txtfile=c:Program FilesWindows NTAccessorieswordpad.exe "%1"

C# و SQL Server نکته های جالب و مهم در ...
ما را در سایت C# و SQL Server نکته های جالب و مهم در دنبال می کنید

برچسب : نویسنده : alinaiemabadio بازدید : 192 تاريخ : سه شنبه 29 آبان 1397 ساعت: 20:29