Bert Posted November 30, 2005 Share Posted November 30, 2005 Example I have a file called abc.txt How do I open the abc.txt so I can view its contents it in notepad? I like to use a run command like this: run("notepad.exe") and have it open abc.txt. How does one do this? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
BigDod Posted November 30, 2005 Share Posted November 30, 2005 Example I have a file called abc.txtHow do I open the abc.txt so I can view its contents it in notepad?I like to use a run command like this:run("notepad.exe") and have it open abc.txt.How does one do this?run("notepad c:\pathname\abc.txt") Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Bert Posted November 30, 2005 Author Share Posted November 30, 2005 I just figured it out: Run(@ComSpec & " /c " & 'abc.txt', "", @SW_HIDE) The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now