Jump to content

Recommended Posts

Posted

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!!!

Posted (edited)

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

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
  • Recently Browsing   0 members

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