Where on my C:/ or D:/ drive is the Windows startup directory ?
Posted
by
Frank
on Super User
See other posts from Super User
or by Frank
Published on 2010-12-30T20:56:21Z
Indexed on
2010/12/30
21:56 UTC
Read the original article
Hit count: 232
I am developing a Java program that needs to run when user turns on his PC, I was suggested to :
create a .bat file
@javaw -jar path/to/jar/Name.jar arguments
drop this in the Windows startup directory
My question is :
- Can my Java program save the above file into the Windows startup directory ?
- Where is this Windows startup directory on the C: or D: drive ?
- How can my Java app find out the location ?
- Is it the same on all versions of Windows ?
© Super User or respective owner