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

Filed under:
|
|

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 :

  1. Can my Java program save the above file into the Windows startup directory ?
  2. Where is this Windows startup directory on the C: or D: drive ?
  3. How can my Java app find out the location ?
  4. Is it the same on all versions of Windows ?

© Super User or respective owner

Related posts about Windows

Related posts about startup