Jump to content
Sign in to follow this  

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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.