免責聲明

Disclaimer (免責聲明)
繼續閱覽代表您接受以上的免責聲明.
To continue reading means you accept the above disclaimer.

2014年10月21日 星期二

file extension association on windows

//=== display assoication
> assoc .py
.py=Python.File

//=== set association
>assoc .pys=pysFile

//=== remove association
> assoc .pys=


//=== ftype (file type)
> ftype |findstr Python

Python.CompiledFile="...\Python27\python.exe" "%1" %*
Python.File="...\Python27\python.exe" "%1" %*
Python.NoConFile="...\Python27\pythonw.exe" "%1" %*



//=== where
> where assoc
??? could not find files for the given patterns

> where demo.bat


//=== pathExt
> echo %pathExt%


//=== http://pcsupport.about.com/od/fixtheproblem/ht/default-program-windows-7.htm

Control Panel\All Control Panel Items\Default Programs\Set Associations

Control Panel --> Default Programs --> Associate a file type or protocol with a specific program

沒有留言:

張貼留言