//打开带密码的access文件(不是链接数据库)
var
fileName:PChar;
begin
fileName:=PChar(ExtractFilePath(Application.ExeName)+'mydb.mdb');
ShellExecute(Handle,'open',fileName,'/pwd mypass',nil,SW_NORMAL);
//ShellExecute(Handle,'open',fileName,'/user Admin /pwd mypass',nil,SW_NORMAL);
end;
请问为什么达不到效果,是不是命令行参数那里出错了