打印

[提问] 用VB中的 shell 命令怎样打开gpedit.msc

用VB中的 shell 命令怎样打开gpedit.msc

用VB中的 shell 命令怎样打开gpedit.msc 用"shell %windir%\system32\gpedit.msc"打不开啊 ?

TOP

路过 学习下!!
BOOL CreateProcess(
  LPCTSTR lpApplicationName,
  LPTSTR lpCommandLine,
  LPSECURITY_ATTRIBUTES lpProcessAttributes,
  LPSECURITY_ATTRIBUTES lpThreadAttributes,
  BOOL bInheritHandles,
  DWORD dwCreationFlags,
  LPVOID lpEnvironment,
  LPCTSTR lpCurrentDirectory,
  LPSTARTUPINFO lpStartupInfo,
  LPPROCESS_INFORMATION lpProcessInformation
);

TOP

个人认为,先写入BAT,再SHELL比较好。 那样CMD里能用的都能用。 。。
愤怒的晕晕
http://hi.baidu.com/yun83

Processed in 0.109837 second(s), 5 queries, Gzip enabled