05/17/2005 08:08p 1,024 SAM.LOG
05/17/2005 08:17p 1,024 SECURITY.LOG
05/17/2005 08:54p 12,288 software.LOG
06/05/2004 07:06a 1,024 system.LOG
06/05/2004 07:06a 0 TempKey.LOG
06/05/2004 07:06a 1,024 userdiff.LOG
7 File(s) 17,408 bytes
0 Dir(s) 7,208,861,696 bytes free
Press any key to continue
按任意键继续...........
The following is a sample output run using VC++ EE 2005 on another machine.
下面是用VC++ EE 2005 在另外机器上编译执行输出的结果:

The following example tested on Win XP Pro SP2 using Visual C++ Express Edition 2005 with Windows SDK installed.
下面的程序在安装了VC++ EE 2005 Express版本的WinXP Pro SP2 机器上测试:
/*******cruntime.cpp*******/
/***Visual C++ EE 2005 on Win XP Pro SP 2 ****/
#include <stdio.h>
#include <conio.h>
#include <direct.h>
#include <stdlib.h>
#include <ctype.h>
int main(void)
{
int chr, drive, curdrive;
static char path[_MAX_PATH];
char buffer[_MAX_PATH];
char newdir[50] = \"\\testdir\";
// charpath1[50] = \"C:\\WINNT\\System32\\config\";
char path1[50] = \"