Im trying to change a variable to look for a directory where the folder contains the # symbol. Microstation does not like this. I believe # creates a new line? Is there a way I can reference the directory without having rename it?
# is used to comment a line/config variable in the configuration files.
Are you looking to change the variable inside MicroStation?. Manually or through programming.
Some samples, snapshots will help us better understand your requirement.
Im just trying to change the variable MS_RFDIR manually but the directory I need to point to contains # symbol. Unfortunately I can't rename the directory in windows.
SB Owens said: I can't rename the directory in windows
Can you assign a drive letter, or some other Windows alias to that folder?
Regards, Jon Summers LA Solutions
I'm afraid not.
Put it in quotes (I haven’t tested this my self):
MS_RFDIR > "\\server\share\test#dir\"
When the # symbol is encountered when processing cfg files/configuration variables it will move on to the next line.
When setting up paths it would be best to stay away from special characters with the exception of the "-" and "_" characters
I tried this but it doesn't work
Thanks. I am not in control of said folder so I cannot influence the name
I understand. You may need to let the powers in charge of directory structure know that their choices will keep you from doing your job.
And in the meantime, you'll just have navigate up and down the directory tree.Here's hoping that the people in charge will take your situation seriously, and hopefully they haven't invested too much in a poorly-designed directory structure.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Only other option that may be worth a try is if its a network location you can try to map it as a drive.