Print Thread
Bug: Variables #file and #dir for Configure Tool broken in v11
#51307 04/21/15 07:07 AM
Joined: Apr 2006
Posts: 77
F
Member
OP Offline
Member
F
Joined: Apr 2006
Posts: 77
Using version 11.0.1.1765.

When I use "Configure Tool" and try to pass the name of the file currently open in a Program Window with #file I get something like "BO49DE~1" instead of the real file name.
#Path returns the correct path, but has the bogus file name attached, too.

With this bug Configure Tools is completely useless right now mad

Re: Bug: Variables #file and #dir for Configure Tool broken in v11
Frank Kintrup #51310 04/21/15 08:54 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
If the file or directory name contains spaces it will be converted to 8.3 notation. To prevent this, surround the variable by quotes: use "#file" instead of #file.


Marco Kalter
Allround Automations
Re: Bug: Variables #file and #dir for Configure Tool broken in v11
Marco Kalter #51312 04/21/15 02:17 PM
Joined: Apr 2006
Posts: 77
F
Member
OP Offline
Member
F
Joined: Apr 2006
Posts: 77
The file name does not contain any spaces but it does contain an underscore. Surrounding it with quotes does work however, thank you smile

You should either document this behavior in the help file or automatically add the quotes. Some programs (like the one I use with this function) simply do not work with the ancient 8.3 notation.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.043s Queries: 14 (0.018s) Memory: 2.5039 MB (Peak: 3.0405 MB) Data Comp: Off Server Time: 2024-05-15 15:20:19 UTC
Valid HTML 5 and Valid CSS