正常EXE文件执行时可以用 shellexecute 和 Winexec执行
如果将该EXE文件扩展名改为任意其他扩展名,改如何调用执行
如:原文件名为 fss.exe
现在改名为:fss.dfg
该如何用DELPHI执行fss.dfg?
- 2009-03-06 09:00
WinExec('cmd /c d:/fss.dfg')
- 2009-03-06 09:00
CreateProcess
- 2009-03-06 09:00
调用API函数:WinExec
就可以实现了
就可以实现了
- 2009-03-06 09:00
WinExec('cmd /c d:/fss.dfg') 有DOS窗口啊
- 2009-03-06 09:00
在注册表中加载个自定义扩展名,指向exefile即可。
- 2009-03-06 09:00
http://www.tj33588.com/article.asp?id=236
- 2009-03-06 09:01
CreateProcess API
- 2009-03-06 09:01
WinExec('cmd /c d:/fss.dfg') 有DOS窗口啊
WinExec('cmd /c d:/fss.dfg',SW_HIDE)
WinExec('cmd /c d:/fss.dfg',SW_HIDE)
- 2009-03-06 09:01
MoveFile把名称改回来,然后运行。
或者 最邪门的,调入内存,从内存运行。
或者 最邪门的,调入内存,从内存运行。