Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualCornstalks

Posted 23 July 2012 - 07:51 PM

I believe the environment variable %APPDATA% is set for all reasonable versions of Windows you may be targeting (from Windows 2K and up, I believe). So something like filepath = "%APPDATA%\\folder\\file.txt";

You shouldn't need to call a program. But if you do Start -> Run... -> %APPDATA% it should pop up an Explorer window with the appropriate folder open, if you're curious.

#1Cornstalks

Posted 23 July 2012 - 07:50 PM

I believe the environment variable %APPDATA% is set for all reasonable versions of Windows you may be targeting (from Windows 2K and up, I believe). So something like filepath = "%APPDATA%\\folder\\file.txt";

You shouldn't need to call a program.

PARTNERS