shellfolders

Package: WA2L/WinTools 1.2.09
Section: Library Commands (3)
Updated: 02 April 2026
Index Return to Main Contents

 

NAME

shellfolders - print 'User Shell Folders' registry subkey values

 

SYNOPSIS

WA2LWinTools/lib/shellfolders [ -h | -V ]

shellfolders [ -k ] [ { folder } ]

folder ::= ( APP_DATA | DESKTOP | PROGRAMS | SENDTO | STARTUP | STARTMENU | LOCALAPP_DATA )

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

print 'User Shell Folders' registry subkey values.

The output of this command is more reliable then to concatenate environment variables.

 

OPTIONS

-h
usage message.

-V
print program version.

-k
do not print the folder keys.

folder
identifier of shell folder to print: APP_DATA, DESKTOP, PROGRAMS, SENDTO, STARTUP, STARTMENU or LOCALAPP_DATA.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

4
usage displayed.

5
version printed.

 

FILES

-

 

EXAMPLES

1) Example output
  shellfolders

  APP_DATA=C:\Users\JohnDoe\AppData\Roaming
  DESKTOP=C:\Users\JohnDoe\Desktop
  PROGRAMS=C:\Users\JohnDoe\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
  SENDTO=C:\Users\JohnDoe\AppData\Roaming\Microsoft\Windows\SendTo
  STARTUP=C:\Users\JohnDoe\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  STARTMENU=C:\Users\JohnDoe\AppData\Roaming\Microsoft\Windows\Start Menu
  LOCALAPP_DATA=C:\Users\JohnDoe\AppData\Local

 

SEE ALSO

wintoolsintro(1), startprog(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

shellfolders was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2026 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 15:35:24 GMT, April 02, 2026