Sign in to follow this  
Followers 0

Syntax for @MyDocumentsDir and/or FileRead

2 posts in this topic

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")

Share this post

Link to post
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
Sign in to follow this  
Followers 0