LabCompass icon indicating copy to clipboard operation
LabCompass copied to clipboard

Issue when starting the program from a batch file

Open Snarkie opened this issue 8 years ago • 2 comments

Hey. I encountered an issue with this program, when I tried to run it via windows batch files (.bat). I have a couple of AHK scripts I'd like to start when opening PoE, so I did put all of them in a batch file. When I wanted to try LabCompass, I did just put it into the same batch file, so it would be opened together with the poe client.

When I executed the batch file, the following happened:

  • the AHK macros started
  • PoE launcher started
  • for a brief moment, there was some sort of "fatal error" message, probably related to LabCompass
  • the console window opened by the batch file, all the macros, and PoE close down simultaneously
  • the batch file disappears/gets deleted somehow (!)
  • my pc does not allow me to create/rename a new batch file of the same name at the same location (!!!)

Reproduced the issue with a differently named batch file, same thing happened. 2 file names blocked at that location currently.

Windows 10, 64bit.

Batch file did look somewhat like this:

start "" "D:\Programs\POE-TradeMacro\Run_TradeMacro.ahk" start "" "C:\Games\PoE\macro1.ahk" start "" "C:\Games\PoE\macro2.ahk" start "" "C:\Games\PoE\PathOfExile_x64.exe" start "" "D:\Programs\LabCompass\LabCompass.exe"

Snarkie avatar Dec 21 '17 23:12 Snarkie

Are you still experiencing this issue with the latest release? Or is anyone else able to reproduce this?

yznpku avatar Jan 24 '18 05:01 yznpku

Issue still exists in 1.1.1 for me. Same MO, game, AHK, everything related to the batch file closes down, batch file gets deleted. Windows doesn't allow me to create/rename a new batch file of the same name.

Specifically, it claims to need "administrator privileges" on renaming a file to that file name (which I do have), and even after confirming those, it doesn't allow me to proceed.

The restriction seems to be temporary. Maybe only needs a pc restart or something, I can use the names blocked by my previous attempts again. The batch files from back then are still missing, though.

Snarkie avatar Jan 24 '18 06:01 Snarkie