469,125 Members | 1,676 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,125 developers. It's quick & easy.

Opening a file

Ali Rizwan
927 512MB
i know how to execute/open an exe file but i dont know how to open a file.I want to open a file test.txt.
And i use this code
shellexec ("C:\test.txt")
but i recieve error.
Is there any refrences to add or any declarations.
Sep 27 '07 #1
2 818
Try Shell ("Notepad c:\test.txt")
Sep 27 '07 #2
Ali Rizwan
927 512MB
Try Shell ("Notepad c:\test.txt")
Its working
regards Ali
Sep 27 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by PM | last post: by
1 post views Thread by Alfons | last post: by
14 posts views Thread by D. Alvarado | last post: by
11 posts views Thread by aldrin | last post: by
2 posts views Thread by Craig | last post: by
15 posts views Thread by Umesh | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.