C cgh0717 Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-07 #1 我要一个可以将文件及目录改名,程序启动时传入要改名的文件目录 作为参数,然后改,谢谢!!!要源码,这个没有什么秘密吧!!
M mikedeakins Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-10 #2 #include <stdio.h> main( int argc, char *argv[ ], char *envp[ ] ) { int result; result = rename(argv[1], argv[2]); if( result != 0 ) printf( "Could not rename '%s'/n", old ); else printf( "File '%s' renamed to '%s'/n", argv[1], argv[2] ); }
#include <stdio.h> main( int argc, char *argv[ ], char *envp[ ] ) { int result; result = rename(argv[1], argv[2]); if( result != 0 ) printf( "Could not rename '%s'/n", old ); else printf( "File '%s' renamed to '%s'/n", argv[1], argv[2] ); }
W wantlong Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-29 #5 吾曾编一改名程序(VB) 可浏览网页,批量改名(加前缀,添后缀,改扩展,删子串) 告诉我你的油箱 给分索取源代码(600行) 一行一分,不贵吧,才6块钱