BBC BASIC for Windows
« Special Folders »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:48pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Special Folders  (Read 420 times)
dynamic35
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 34
xx Special Folders
« Thread started on: Nov 21st, 2011, 10:17am »

REM Special folders in XP sp3 20.11.2011
id%=-1
REPEAT
id%=id%+1
spex$=FNspecialfolder(id%)
IF LENspex$ > 2 PRINT id%,TAB(14); spex$

UNTIL id% = 99
I found last night that above code produces a little bit more files than given in the BBC Basic educational files and documentations:
0 C:\Documents and Settings\dynamic35\Desktop\
2 C:\Documents and Settings\dynamic35\Start Menu\Programs\
5 C:\Documents and Settings\dynamic35\My Documents\
6 C:\Documents and Settings\dynamic35\Favorites\
7 C:\Documents and Settings\dynamic35\Start Menu\Programs\Startup\
8 C:\Documents and Settings\dynamic35\Recent\
9 C:\Documents and Settings\dynamic35\SendTo\
11 C:\Documents and Settings\dynamic35\Start Menu\
13 C:\Documents and Settings\dynamic35\My Documents\My Music\
16 C:\Documents and Settings\dynamic35\Desktop\
19 C:\Documents and Settings\dynamic35\NetHood\
20 C:\WINDOWS\Fonts\
21 C:\Documents and Settings\dynamic35\Templates\
22 C:\Documents and Settings\All Users\Start Menu\
23 C:\Documents and Settings\All Users\Start Menu\Programs\
24 C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
25 C:\Documents and Settings\All Users\Desktop\
26 C:\Documents and Settings\dynamic35\Application Data\
27 C:\Documents and Settings\dynamic35\PrintHood\
28 C:\Documents and Settings\dynamic35\Local Settings\Application Data\
31 C:\Documents and Settings\All Users\Favorites\
32 C:\Documents and Settings\dynamic35\Local Settings\Temporary Internet Files\
33 C:\Documents and Settings\dynamic35\Cookies\
34 C:\Documents and Settings\dynamic35\Local Settings\History\
35 C:\Documents and Settings\All Users\Application Data\
36 C:\WINDOWS\
37 C:\WINDOWS\system32\
38 C:\Program Files\
39 C:\Documents and Settings\dynamic35\My Documents\My Pictures\
40 C:\Documents and Settings\dynamic35\
41 C:\WINDOWS\system32\
43 C:\Program Files\Common Files\
45 C:\Documents and Settings\All Users\Templates\
46 C:\Documents and Settings\All Users\Documents\
47 C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\
53 C:\Documents and Settings\All Users\Documents\My Music\
54 C:\Documents and Settings\All Users\Documents\My Pictures\
55 C:\Documents and Settings\All Users\Documents\My Videos\
56 C:\WINDOWS\Resources\
59 C:\Documents and Settings\dynamic35\Local Settings\Application Data\Microsoft\CD Burning\

Greetings Dynamic35

User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Special Folders
« Reply #1 on: Nov 21st, 2011, 11:18am »

on Nov 21st, 2011, 10:17am, dynamic35 wrote:
I found last night that above code produces a little bit more files than given in the BBC Basic educational files and documentations

That's because you were running it on a later version of Windows. If you use the additional 'special folders' which aren't listed in the BB4W docs, be aware that your program will only run on a version of Windows that has them. If you're distributing your code, you may need your users to be aware of that.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls