Windows 10
Qcad/cam 3.27.1.0 Rev 2726424
Someone please help.
How do I use the dwg2bmp
I didn't see anything in the search about qcadcmd not being recognized.
I am trying to use the DWG2BMP.bat file.
When I use this file I get an error qcadcmd.com is not recognized as an internal or external command.
Qcad is in the path.
If I open a command window and type in the cmd window qcadcmd.com runs when I use the dwg2bmp batch file I get an error, "qcadcmd.com is not recognized as an internal or external command"
I put a pause in the bat file to see the error.
I have uninstalled and reinstalled qcad
I am drag and dropping a file on the bat file to get this error.
If I open a prompt in the folder and call the bat from the command line I get pop up saying windows can't find the file
I wanted to run this on a folder of files.
I can't wrap my head around js so I used the "for" command in windows.
Edit:
I am able to do 1 file at a time from the cmd line.
I tried using the "for" command in the bat file and get the error above.
I tried using AutoHotkey to loop the folder and pass the Dwg2bmp 1 file at a time and got the error above.
I know I am not doing something correctly, I am kind of frustrated. The cam upgrade has given me headaches, all self inflicted too.
Edit:
I'm sorry to waste your time, I think.
I am just calling the Dwg2bmp file and it works, I think.
I was trying to edit the file Dwg2bmp to insert the loop.
That was not working at all.
[solved I think ] Error when I use dwg2bmp
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Newbie Member
- Posts: 3
- Joined: Fri Jun 09, 2023 4:25 pm
Re: [solved I think ] Error when I use dwg2bmp
Hello!
Im having the same problem and same message ( qcadcmd.com is not recognized as an internal or external command.) when i try to run the bat. file.
I do have the pro version.
How did you fix this?
Im having the same problem and same message ( qcadcmd.com is not recognized as an internal or external command.) when i try to run the bat. file.
I do have the pro version.
How did you fix this?
Re: [solved I think ] Error when I use dwg2bmp
Unfortunately, this is a Windows Batch programming issue, unrelated to QCAD. Most likely a PATH environment issue, I'd guess but I'm not a Windows Batch expert.
Re: [solved I think ] Error when I use dwg2bmp
Where did you try to run the bat file? Within the QCAD installation folder or somewhere else ...?Mateus Jacobus wrote: ↑Fri Jun 09, 2023 4:29 pm... ( qcadcmd.com is not recognized as an internal or external command.) when i try to run the bat. file.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Newbie Member
- Posts: 3
- Joined: Fri Jun 09, 2023 4:25 pm
Re: [solved I think ] Error when I use dwg2bmp
Actually from a Excell VBA. I've created i code to run the .bat file. The function of this button is to convert .dxf files into .bmp and place in the label automatically, i'll send here the code and .bat file.
VBA code:
Sub ConvertDXF()
folderPath = Range("K4").Value
Call Shell("""" & "C:\Users\Diego Schmidt\OneDrive\Administração\Pedidos\Convert_DXF.bat" & """" & " " & """" & folderPath & """", 4)
End Sub
VBA code:
Sub ConvertDXF()
folderPath = Range("K4").Value
Call Shell("""" & "C:\Users\Diego Schmidt\OneDrive\Administração\Pedidos\Convert_DXF.bat" & """" & " " & """" & folderPath & """", 4)
End Sub
- Attachments
-
- Convert_DXF.txt
- (429 Bytes) Downloaded 160 times
-
- Newbie Member
- Posts: 3
- Joined: Fri Jun 09, 2023 4:25 pm
Re: Error when I use dwg2bmp
Hello everione!
I still trying to figure it out, how to use this .bat. Can someone please help me?
Best regards.
I still trying to figure it out, how to use this .bat. Can someone please help me?
Best regards.