Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.01.29;
Скачать: CL | DM;

Вниз

Как прогр. узнать где расположены папки Windows и Prog. Files   Найти похожие ветки 

 
explorer ©   (2003-11-14 07:44) [0]

Мастера!
Подскажите, как реализовать сабж, чтобы затем подставить в Path?


 
debugger ©   (2003-11-14 09:33) [1]

windows - в системной переменной windir.
program files - в одноименной системной переменной (для NT).
Читать с помощью GetEnvironmentVariable.


 
explorer ©   (2003-11-14 11:33) [2]

debugger ©
А если для Win95/98/ME ?


 
serge   (2003-11-14 12:10) [3]

You can use the SHGetSpecialFolderLocation function to retrieve the location of a special folder, which can be virtual or part of the file system. The function returns a PIDL, which the application must eventually free using the shell"s allocator. If the folder is part of the file system, you can convert the PIDL to a file system path by using the SHGetPathFromIDList function. For a list of special folders, see the description of the SHGetSpecialFolderLocation function.


 
Dimka Maslov ©   (2003-11-14 12:27) [4]

http://delphibase.endimus.com/?action=viewtopic&topic=sysparams



Страницы: 1 вся ветка

Текущий архив: 2004.01.29;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.02 c
7-93724
T-Coder
2003-11-13 02:36
2004.01.29
Shell Extension bug


1-93453
pASkdua
2004-01-15 18:35
2004.01.29
Возможна ли печать <B>всего</B> содержимого SrcollBox?


1-93489
Konstantin
2004-01-12 15:18
2004.01.29
Что за загадочный FPower10?


14-93675
raidan
2004-01-07 01:08
2004.01.29
А почему у некоторых имя как ссылка на e-mail?


1-93508
romeo
2004-01-11 12:55
2004.01.29
Как нарисовать линию с Pen.Style = psDash и Pen.Width > 1?