- 博客(5)
- 收藏
- 关注
原创 python目录操作命令技巧
import os #获取当前脚本文件路径 print os.path.dirname(os.path.abspath(__file__)) #获取当前路径的上级目录 print os.path.abspath(os.path.dirname(os.path.dirname(__file__))) print os.path.abspath(os.path.join(os.pat
2011-04-24 20:10:00 7013
原创 如何设置使windows(dos)命令中目录和文件可以自动完成和补齐
1、 如果只是临时使用,可以用cmd /f打开命令窗口2、如果想永久使用1)在运行窗口输入regedit2)找到键值HKEY_LOCAL_MACHINE/Software/Microsoft/Command Processor将CompletionChar改为0x9,PathCompletionChar 改为0x9,十六进制,这样就可以使用tab键完成自动补齐3)推出注册表,完:-)
2011-04-23 18:05:00 2775
原创 File System Redirector and Sysnative - how to call 64 bit program from 32 bit application
<br />The %windir%/System32 directory is reserved for 64-bit applications. Most DLL file names were not changed when 64-bit versions of the DLLs were created, so 32-bit versions of the DLLs are stored in a different directory. WOW64 hides this difference u
2011-04-11 23:22:00 1349
原创 Windows如何用命令修改IP地址,动态和静态切换
You can use the netsh command in Windows 2000 to script the process of changing a computer from a static Internet Protocol (IP) address to Dynamic Host Configuration Protocol (DHCP) or vice versa. The netsh command accomplishes this task without the need t
2011-04-02 21:52:00 2471
原创 在Windows系统中,如何python脚本实现分割合并大二进制文件,方便上传
""" To split a file, type the following command split.py [filename] [chunksize in mb] To recover it back, type the following command copy /b [filename].part.0+[filename].part.1+[filename].part.2 [filename] """ from sys import argv import os d
2011-04-01 17:23:00 3238
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人