I recently wrote a java jar file that takes the current date and time and puts it into a text file. What i want to do is put this into a users startup folder so i know when they got on to the computer. However, if the jar is in the folder nothing happens. If i put a .bat file in the folder with the code
javaw -jar LoginLogger.jar
it gives me an error saying that LoginLogger.jar could not be accessed. But if I double click the bat it works fine. Just not at startup. Does anyone know whats wrong with this setup?