Hi cprezzi!
Thank you for the quick reply!!! Are there any other reasons you think the .env might not be used by LaserWeb.exe?
When connecting with PuTTY using the same port(COM3) and baud rate(115200) I can connect, send ctrl-x and receive the GRBL 1.1 response from the ORTUR. I think my problem is I’m not able to get LaserWeb to recognize the the .env file to force the ctrl-x command.
Following the many other posts I’ve tried these items:
- Validate the “.” is in front of the .env file
- I have enabled File Extensions to confirm nothing follows .env like “.env.txt”
- Executed the .bat file that automatically creates the .env file with the appropriate command.
- manually created text file called env.env. Then from the command line I ran ren env.env .env which from everything i can tell properly renamed it.
- uninstalled and reinstalled LaserWeb. Also tried both x86 and 64 packages.
To validate my files here are the two paths: Anywhere my user name is referenced I replaced it with %username% to protect the innocent.
.env file:
C:\Users\%username%\AppData\Local\Programs\lw.comm-server\.env
LaserWeb.exe:
C:\Users\%username%\AppData\Local\Programs\lw.comm-server\LaserWeb.exe
Desktop shortcut target:
C:\Users\%username%\AppData\Local\Programs\lw.comm-server\LaserWeb.exe
Below are screen shots. Note .env changed to look like a text file after I told Windows 10 to always open this .env in notepad.
Below is the command prompt with all the files in that directory. To be sure I’m running from the same directory I ran C:\Users\%username%\AppData\Local\Programs\lw.comm-server>LaserWeb.exe
Note .env appears to be properly named.
C:\Users\%username%\AppData\Local\Programs\lw.comm-server>dir
Volume in drive C is Local Disk
Volume Serial Number is 42CF-7BBD
Directory of C:\Users\%username%\AppData\Local\Programs\lw.comm-server
09/07/2020 08:13 AM <DIR> .
09/07/2020 08:13 AM <DIR> ..
09/07/2020 08:17 AM 50 .env
09/28/2017 03:31 PM 18,744 api-ms-win-core-console-l1-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-datetime-l1-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-debug-l1-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-errorhandling-l1-1-0.dll
09/28/2017 03:31 PM 21,816 api-ms-win-core-file-l1-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-file-l1-2-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-file-l2-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-handle-l1-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-heap-l1-1-0.dll
09/28/2017 03:31 PM 17,856 api-ms-win-core-interlocked-l1-1-0.dll
09/28/2017 03:31 PM 18,744 api-ms-win-core-libraryloader-l1-1-0.dll
09/28/2017 03:31 PM 20,792 api-ms-win-core-localization-l1-2-0.dll
09/28/2017 03:31 PM 18,744 api-ms-win-core-memory-l1-1-0.dll
09/28/2017 03:31 PM 18,232 api-ms-win-core-namedpipe-l1-1-0.dll
09/28/2017 03:31 PM 19,248 api-ms-win-core-processenvironment-l1-1-0.dll
09/28/2017 03:29 PM 19,392 api-ms-win-core-processthreads-l1-1-0.dll
09/28/2017 03:29 PM 18,744 api-ms-win-core-processthreads-l1-1-1.dll
09/28/2017 03:29 PM 17,712 api-ms-win-core-profile-l1-1-0.dll
09/28/2017 03:29 PM 17,720 api-ms-win-core-rtlsupport-l1-1-0.dll
09/28/2017 03:29 PM 18,232 api-ms-win-core-string-l1-1-0.dll
09/28/2017 03:29 PM 20,280 api-ms-win-core-synch-l1-1-0.dll
09/28/2017 03:29 PM 18,744 api-ms-win-core-synch-l1-2-0.dll
09/28/2017 03:29 PM 19,248 api-ms-win-core-sysinfo-l1-1-0.dll
09/28/2017 03:29 PM 18,224 api-ms-win-core-timezone-l1-1-0.dll
09/28/2017 03:29 PM 18,232 api-ms-win-core-util-l1-1-0.dll
09/28/2017 03:29 PM 19,256 api-ms-win-crt-conio-l1-1-0.dll
09/28/2017 03:29 PM 22,328 api-ms-win-crt-convert-l1-1-0.dll
09/28/2017 03:29 PM 18,736 api-ms-win-crt-environment-l1-1-0.dll
09/28/2017 03:29 PM 20,280 api-ms-win-crt-filesystem-l1-1-0.dll
09/28/2017 03:29 PM 19,256 api-ms-win-crt-heap-l1-1-0.dll
09/28/2017 03:29 PM 18,744 api-ms-win-crt-locale-l1-1-0.dll
09/28/2017 03:29 PM 28,984 api-ms-win-crt-math-l1-1-0.dll
09/28/2017 03:29 PM 26,424 api-ms-win-crt-multibyte-l1-1-0.dll
09/28/2017 03:29 PM 73,016 api-ms-win-crt-private-l1-1-0.dll
09/28/2017 03:29 PM 19,256 api-ms-win-crt-process-l1-1-0.dll
09/28/2017 03:29 PM 22,840 api-ms-win-crt-runtime-l1-1-0.dll
09/28/2017 03:29 PM 24,368 api-ms-win-crt-stdio-l1-1-0.dll
09/28/2017 03:29 PM 23,488 api-ms-win-crt-string-l1-1-0.dll
09/28/2017 03:29 PM 20,792 api-ms-win-crt-time-l1-1-0.dll
09/28/2017 03:29 PM 18,744 api-ms-win-crt-utility-l1-1-0.dll
08/22/2018 12:52 PM 25,856 blink_image_resources_200_percent.pak
08/22/2018 12:52 PM 15 content_resources_200_percent.pak
08/22/2018 12:52 PM 10,266,133 content_shell.pak
08/22/2018 12:58 PM 3,466,856 d3dcompiler_47.dll
08/22/2018 12:52 PM 1,695,232 ffmpeg.dll
08/22/2018 12:52 PM 10,130,560 icudtl.dat
04/25/2020 07:28 AM 49,901,056 LaserWeb.exe
08/22/2018 12:53 PM 15,872 libEGL.dll
08/22/2018 12:53 PM 2,543,616 libGLESv2.dll
08/22/2018 12:48 PM 1,060 LICENSE.electron.txt
08/22/2018 12:51 PM 1,783,609 LICENSES.chromium.html
04/25/2020 07:28 AM <DIR> locales
08/22/2018 01:18 PM 440,120 msvcp140.dll
08/22/2018 12:53 PM 239,010 natives_blob.bin
08/22/2018 01:03 PM 14,177,792 node.dll
08/22/2018 12:59 PM 140,979 pdf_viewer_resources.pak
04/25/2020 07:28 AM <DIR> resources
08/22/2018 12:54 PM 1,177,052 snapshot_blob.bin
09/28/2017 03:29 PM 1,142,072 ucrtbase.dll
08/22/2018 12:54 PM 76,195 ui_resources_200_percent.pak
04/25/2020 07:29 AM 132,759 Uninstall LaserWeb.exe
08/22/2018 01:18 PM 83,784 vcruntime140.dll
08/22/2018 12:55 PM 57,450 views_resources_200_percent.pak
62 File(s) 98,341,968 bytes