Table of Contents

Windows common directory and app path

System configure tool and file

System app

Mac OS X common directory and app path

System configure tool and file

Startup directory

ref:http://www.kharysharpe.com/2011/04/automatically-starting-xampp-on-mac-osx-boot-up/

Startup script (not working after Tiger OSX)

ref: http://hintsforums.macworld.com/showthread.php?t=39095

Linux common directory and app path

ref: http://luv.asn.au/overheads/linux-startup.html

Run Level Generic Fedora Core
0HaltHalt
1Single-user modeSingle-user mode
2Basic multi-user mode (without networking)User definable (Unused)
3Full (text based) multi-user mode
4Not usedNot used
5Full (GUI based) multi-user modeFull multi-user mode (with an X-based login screen) - default runlevel
6RebootReboot

Ref Table

Variable Windows XP Windows Vista/7 Mac OS X Linux
%ALLUSERSPROFILE% (%PROGRAMDATA%) C:\Documents and Settings\All Users C:\ProgramData ? ?
%APPDATA% C:\Documents and Settings\{username}\Application Data C:\Users\{username}\AppData\Roaming ? ?
%COMPUTERNAME% {computername} {computername} ? ?
%COMMONPROGRAMFILES% C:\Program Files\Common Files C:\Program Files\Common Files ? ?
%COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files C:\Program Files (x86)\Common Files ? ?
%COMSPEC% C:\Windows\System32\cmd.exe C:\Windows\System32\cmd.exe ? ?
%HOMEDRIVE% C: C: ? ?
%HOMEPATH% \Documents and Settings\{username} \Users\{username} ? ?
%LOCALAPPDATA% [NOT AVAILABLE] C:\Users\{username}\AppData\Local ? ?
%LOGONSERVER% \\{domain_logon_server} \\{domain_logon_server} ? ?
%PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} ? ?
%PATHEXT% .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.WSF;.WSH .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc ? ?
%PROGRAMFILES% C:\Program Files C:\Program Files ? ?
%PROGRAMFILES(X86)% C:\Program Files (x86) (only in 64-bit version) C:\Program Files (x86) (only in 64-bit version) ? ?
%PROMPT% Code for current command prompt format. Code is usually $P$G Code for current command prompt format. Code is usually $P$G ? ?
%SystemDrive% C: C: ? ?
%SystemRoot% The Windows directory, usually C:\Windows, formerly C:\WINNT C:\Windows ? ?
%TEMP% and%TMP% C:\Documents and Settings\{username}\Local Settings\Temp C:\Users\{username}\AppData\Local\Temp ? ?
%USERDOMAIN% {userdomain} {userdomain} ? ?
%USERNAME% {username} {username} ? ?
%USERPROFILE% C:\Documents and Settings\{username} C:\Users\{username} ? ?
%WINDIR% C:\Windows C:\Windows ? ?
%PUBLIC% C:\Users\Public ? ?
%PROGRAMDATA% Only available in Windows Vista and newer versions C:\ProgramData ? ?
%PSModulePath% %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\ ? ?
hosts %systemroot%\system32\drivers\etc\hosts %systemroot%\system32\drivers\etc\hosts /etc/hosts /etc/hosts