>How do you prevent the dos window from appearing when issueing a run on something in winnt\system32 ie.
>
>lcCommand = "c:\winnt\system32\notepad somefile"
>run &lcCommand
>
>Eric K.
Eric you can either use ShellExecute() (visit David Frankenbach's site -
http://www.geocities.com/ResearchTriangle/9834/mainfram.htm if I'm not wrong) or winexec() API calls as preference. Or you could add a /N for windows apps.
run /N c:\winnt\system32\notepad somefile
Cetin