int main( char[][] args ) { foreach( char[] arg; args[1 .. args.length] ) { printf( "%.*s ", arg ); } for ( int i = 0; i < args.length; i++ ) { printf("%.*s ", args[i] ); } return 0; } The first printf can't display the information, and the second do. I use dmd 0.154, XP SP2.