Jump to content

Opening Files In Notepad - Sorry


 Share

Recommended Posts

Hello all you intelligent people

I know this is probably the stupidest thing i've posted but i need to know how to simply open a file in notepad.

i want to specify a location and open a specific file in notepad

i.e.

in dos i would just:

c:\progra~1\SmartSwitch>notepad smartswitch.dfn

how do i simply automate this.

ta very much!!!

Link to comment
Share on other sites

Hello all you intelligent people

I know this is probably the stupidest thing i've posted but i need to know how to simply open a file in notepad.

i want to specify a location and open a specific file in notepad

i.e.

in dos i would just:

c:\progra~1\SmartSwitch>notepad smartswitch.dfn

how do i simply automate this.

ta very much!!!

Run("notepad.exe file.txt")
;or
Run("notepad.exe " & $file)

***edit*** forgot my

Edited by cameronsdad
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...