Environment variable problem

txerifftxeriff Member Posts: 500
edited 2012-06-19 in NAV Three Tier
Hi,

Im trying to do this on RTC:

variable=format(WshShell.expandenvironmentstrings('%USERPROFILE%'))+'Documents\PDFs\';

but the message of variable shows the path with no "\". I tried not to format() but same result.

Any ideas?

thanks!

edit:

forget it for now, it seems working.

Seems like i forgot a \ after userprofile.


sorry for the inconvenience

Comments

  • krikikriki Member, Moderator Posts: 9,112
    MESSAGE('%1',variable);
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.