Display full version of the post: Using file path in macros

archdake
26.04.2012, 10:13
Hello!

I usually setup custom command macros in palettes. I have a problem with the syntax when it's time to enter a file path. Let's assume the file name is drawing1.dwg and it's in c:\ folder. If I enter c:\drawing1.dwg in the command macro and I execute it, I getc:at the command line which I assume it is because autocad interprets \ as waiting for user input.Any ideas?

Lexxx
27.04.2012, 10:18
For pathnames us foreward slash (/) not the backslash (\)
 
Lex

archdake
27.04.2012, 11:49

Thank you so much!

Thumbs up!!It's funny how our brain gets stuck. After so many macros I mixed my slashes up, he he 
archdake2012-04-27 14:08:32