how can i auto browser the notepad by VBscript??

05-31-2005, 12:12 PM
hi, i have some question for ask.
if i use the VBscript to prompt the message, eg. Wscript.Echo "Hello"
Then it would browser the message box on the screen.
If i want to browser that message by notepad (mean: auto open the notepad file on the screen), how to do it??

06-01-2005, 09:32 AM
You can open notepad using

Could send the message one key at a time to notepad I suppose, using SendKeys? Not ideal though. The other way would be to write your message to a temporary file, then open notepad with an argument...
Shell("notepad.exe C:\Temp\out.txt")


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum