安装VC6后,升级sdk (10个cab的那个,从微软下载时带一个bat)
先下载一个extract.exe,复制到/windows/system/下
然后参照下面的内容在dos命令下运行命令
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\zjh>call extract.exe /A /E /Y PSDK-FULL.1.cab /L c:\te
mp
'extract.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Documents and Settings\zjh>call extract.exe /A /E /Y PSDK-FULL.1.cab /L c:\te
mp
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
ERROR: Cannot open file: PSDK-FULL.1.cab
C:\Documents and Settings\zjh>call extract.exe /A /E /Y PSDK-FULL.1.cab /L c:\te
mp
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
ERROR: Cannot open file: PSDK-FULL.1.cab
C:\Documents and Settings\zjh>call extract.exe /A /E /Y PSDK-FULL.1.cab /L c:\te
mp
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
ERROR: Cannot open file: PSDK-FULL.1.cab
C:\Documents and Settings\zjh>call extract.exe /A /E /Y PSDK-FULL.1.cab /L c:\te
mp
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
ERROR: Cannot open file: PSDK-FULL.1.cab
C:\Documents and Settings\zjh>call extract.exe /A /E /Y PSDK-FULL.1.cab /L c:\te
mp
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
ERROR: Cannot open file: PSDK-FULL.1.cab
C:\Documents and Settings\zjh>call extract.exe /A /E /Y g:vc\\sd\\PSDK-FULL.1.ca
b /L c:\temp
Microsoft (R) Cabinet Extraction Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.
Cabinet PSDK-FULL.1.cab
Extracting c:\temp\Autorun.inf
Extracting c:\temp\contents.htm
Extracting c:\temp\ReadMe.Htm
Extracting c:\temp\Setup.Exe
Extracting c:\temp\toc.htm
Extracting c:\temp\whats_new_in_xp_sp2.htm
Extracting c:\temp\Images\PSDKLogo.gif
Extracting c:\temp\License\License.htm
Extracting c:\temp\License\Redist.Txt
Extracting c:\temp\setup\PSDK-DBG_t-x86.0.cab
Extracting c:\temp\setup\PSDK-PSDK-common.0.cab
Cabinet PSDK-FULL.2.cab
Extracting c:\temp\setup\PSDK-PSDK-common.1.cab
Extracting c:\temp\setup\PSDK-PSDK-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_Core_BIN-common.0.cab
Cabinet PSDK-FULL.3.cab
Extracting c:\temp\setup\PSDK-SDK_Core_BIN-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_Core_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_Core_BLD-common.1.cab
Extracting c:\temp\setup\PSDK-SDK_Core_BLD-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_Core_BLD_X86-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_Core_DOC-common.0.cab
Cabinet PSDK-FULL.4.cab
Extracting c:\temp\setup\PSDK-SDK_Core_DOC-common.1.cab
Extracting c:\temp\setup\PSDK-SDK_Core_DOC-common.2.cab
Cabinet PSDK-FULL.5.cab
Extracting c:\temp\setup\PSDK-SDK_Core_DOC-common.3.cab
Cabinet PSDK-FULL.6.cab
Extracting c:\temp\setup\PSDK-SDK_Core_DOC-common.4.cab
Extracting c:\temp\setup\PSDK-SDK_Core_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_Core_SMP-common.1.cab
Extracting c:\temp\setup\PSDK-SDK_Core_SMP-common.2.cab
Extracting c:\temp\setup\PSDK-SDK_Core_SMP-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_IE_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_IE_BLD-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_IE_DOC-common.0.cab
Cabinet PSDK-FULL.7.cab
Extracting c:\temp\setup\PSDK-SDK_IE_DOC-common.1.cab
Cabinet PSDK-FULL.8.cab
Extracting c:\temp\setup\PSDK-SDK_IE_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_IIS_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_IIS_DOC-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_IIS_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MDAC_BIN-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MDAC_BIN_X86-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MDAC_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MDAC_BLD_X86-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MDAC_DOC-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MDAC_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MSI_BIN-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MSI_BIN-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_MSI_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MSI_BLD_X86-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_MSI_DOC-common.0.cab
Cabinet PSDK-FULL.9.cab
Extracting c:\temp\setup\PSDK-SDK_MSI_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_TabletPC_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_TabletPC_BLD-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_TabletPC_DOC-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_TabletPC_RDC-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_TabletPC_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_WMI_BIN-x86.0.cab
Extracting c:\temp\setup\PSDK-SDK_WMI_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_WMI_DOC-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_WMI_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_WMS_BLD-common.0.cab
Extracting c:\temp\setup\PSDK-SDK_WMS_DOC-common.0.cab
Cabinet PSDK-FULL.10.cab
Extracting c:\temp\setup\PSDK-SDK_WMS_SMP-common.0.cab
Extracting c:\temp\setup\PSDK-x86.cab
Extracting c:\temp\setup\PSDK-x86.msi
Extracting c:\temp\setup\SdkHelp.Chi
Extracting c:\temp\setup\SdkHelp.Chm
Extracting c:\temp\setup\HTML\Support.Htm
Extracting c:\temp\setup\Msi\Win95\InstMsi.exe
Extracting c:\temp\setup\Msi\WinNT\x86\InstMsi.exe
C:\Documents and Settings\zjh>