Please can some one point me in the right direction.
I want to start notepad to show a txt file, from within a vbscript.


thanks in advance

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Re: Start windows program from a script by y

y
Sun Mar 13 10:00:59 CST 2005

"step" <anonymous@devdex.com> wrote in message news:u2K%23IP%23JFHA.2796@tk2msftngp13.phx.gbl...
>
> Please can some one point me in the right direction.
> I want to start notepad to show a txt file, from within a vbscript.
>
You can run Notepad with Wscript.Shell object like this.

set wShell=CreateObject("Wscript.Shell")
wShell.run "%windir%\notepad.exe ""C:\xxx\yyy.txt"" "

Y.Sakuda from JPN