Zum speziellen Pfad springen, Filesystem

The place for threads about version 1.x of TimoSoft ExplorerTreeView.
Post Reply
thesmilyface
Cadet
Posts: 3
Joined: 29 Jul 2006, 20:34

Zum speziellen Pfad springen, Filesystem

Post by thesmilyface »

1.)
Wenn ich auf dem Desktop eine Datei anklicke und mir den vollständigen Pfad geben lasse sieht das dann z.B. so aus.
C:\Dokumente und Einstellungen\Nutzer\Desktop\Test.txt

Ist es möglich dem ExplorerTreeview bei der Übergabe an die Eigenschaft .Pfad dazu zu veranlassen, das er nicht nach

C:\Dokumente und Einstellungen\Nutzer\Desktop\Test.txt

sondern nach

Desktop\Test.txt

springt?

2.)
Kennst Du eine Möglichkeit ohne FSO oder WMI das Filesystem eines Laufwerkes zu bestimmen (NTFS, FAT32 usw.)?

Tschüss Frank

Tschüss Frank
[hr]
Translation for visitors not speaking German:
1.)
If I click on a file on the Desktop and retrieve its full path, it looks like this.
C:\Documents and Settings\User\Desktop\Test.txt

Is it possible to make ExplorerTreeView not select

C:\Documents and Settings\User\Desktop\Test.txt

but

Desktop\Test.txt

when setting the Path property?

2.)
Do you know a way without FSO and WMI to retrieve a drive's file system (NTFS, FAT32 etc.)?

Bye Frank

Bye Frank
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: Zum speziellen Pfad springen, Filesystem

Post by TiKu »

thesmilyface wrote:1.)
Wenn ich auf dem Desktop eine Datei anklicke und mir den vollständigen Pfad geben lasse sieht das dann z.B. so aus.
C:\Dokumente und Einstellungen\Nutzer\Desktop\Test.txt

Ist es möglich dem ExplorerTreeview bei der Übergabe an die Eigenschaft .Pfad dazu zu veranlassen, das er nicht nach

C:\Dokumente und Einstellungen\Nutzer\Desktop\Test.txt

sondern nach

Desktop\Test.txt

springt?
Wenn Du Dir nicht den Dateisystempfad geben lässt, sondern ItemHandleToTreePath() nutzt, lautet der Pfad wie gewünscht Desktop\Test.txt.
thesmilyface wrote:2.)
Kennst Du eine Möglichkeit ohne FSO oder WMI das Filesystem eines Laufwerkes zu bestimmen (NTFS, FAT32 usw.)?
Das API GetVolumeInformation() liefert u. a. das Dateisystem.
[hr]
Translation for visitors not speaking German:
thesmilyface wrote:1.)
If I click on a file on the Desktop and retrieve its full path, it looks like this.
C:\Documents and Settings\User\Desktop\Test.txt

Is it possible to make ExplorerTreeView not select

C:\Documents and Settings\User\Desktop\Test.txt

but

Desktop\Test.txt

when setting the Path property?
If you do not retrieve the file system path, but use ItemHandleToTreePath(), the path will be Desktop\Test.txt as desired.
thesmilyface wrote:2.)
Do you know a way without FSO and WMI to retrieve a drive's file system (NTFS, FAT32 etc.)?
The API GetVolumeInformation() retrieves the filesystem among other things.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Post Reply