Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: MetLHead on November 14, 2006, 09:03:47 PM
-
I seem to have run into a problem with launching an editor from Mach 3, but I'm not sure if this has been discussed before. The problem appears when you try to assign an editor whose path has spaces in it. Like Wordpad for example:
"C:\Program Files\Windows NT\Accessories\wordpad.exe"
Notepad works fine because it's path doesn't have any spaces in it:
"C:\Windows\notepad.exe"
This problem came up when I tried to send a G-Code file to NCPlot. I am NCPlot's developer, so I was able to verify that the data being passed was everything after the first space in the editor's path. So, instead of just getting the name of the file to open, I am also getting part of the pathname as well.
The version of Mach 3 I tried this with is R1.84
So, I guess I'm asking if anybody else has run into this.
Thanks,
Scott
-
I just tried assigning wordpad in ver 2.0 and got an error message. Wordpad does open but, the message says 'failed to open document'. I tried assigning Micro Word (winword.exe) and it works fine.
HTH,
Sid
-
A work around for this problem is to use windows short file/path names. After clicking the browse button paste the following in the filename box. Change the drive letters to match your system:
For wordpad - C:\Progra~1\Window~1\Access~1\wordpad.exe
or for NCPlot - M:\Progra~1\NCPlot\NCPlot.exe
Mark
-
Mark,
U DA MAN!!!
Pure Genius! That works perfect!
Thanks,
Sid
-
Mark,
That's beautiful!! Thanks!
Scott