Jump to content

Syntax for @MyDocumentsDir and/or FileRead


Recommended Posts

Trying to make a script that will read a .txt called 'Proposal Template.txt' in the current users My Documents directory sub folder 'Proposals'

The directrory in full is:

C:\Documents and Settings\[Current Users Name]\My Documents\Proposals\Proposal Template.txt

I was thinking that the following code might do the job, but I was wrong. Is it just the wrong syntax, or do I need to accomplish this in an entirely different way?

FileRead(@MyDocumentsDir"\Proposals\Proposal Template.txt")
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...