Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Notes @command

Status
Not open for further replies.

zulu1ghz

Technical User
Sep 10, 2002
19
0
0
GB
Hi,

Wonder if anybody out there could help.

I'm writing a simple @command to detach a file to a directory on the users windows workstation.

I can get it to work if I specifiy a full path of where to save the file however as we're using a windows platform each user has it's own profile, I know that the environment variable for this is %UserProfile% but I can't get the command to see it.

Here's what I have so far, any suggestions?

@Command([EditDetach];"Website.url";"c:\\Documents and settings\\%UserProfile%\\Favorites\\Website.url")

Thanks


Steve

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top