Please follow the steps.
- Open an elevated command promote(Run as Administrator).
- Use FTYPE {fileType}={commandString} to creat a file type and associated command to open the file.
- Use ASSOC {.fileExtension}={fileType}
For example:
assoc .txt=txtfile
ftype txtfile=c:Program FilesWindows NTAccessorieswordpad.exe "%1"
برچسب:
نویسنده: رویا حیدریان
تاريخ: سه
شنبه
29 آبان
1397 ساعت: 20:29