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
Zum speziellen Pfad springen, Filesystem
Re: Zum speziellen Pfad springen, Filesystem
Wenn Du Dir nicht den Dateisystempfad geben lässt, sondern ItemHandleToTreePath() nutzt, lautet der Pfad wie gewünscht Desktop\Test.txt.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?
Das API GetVolumeInformation() liefert u. a. das Dateisystem.thesmilyface wrote:2.)
Kennst Du eine Möglichkeit ohne FSO oder WMI das Filesystem eines Laufwerkes zu bestimmen (NTFS, FAT32 usw.)?
[hr]
Translation for visitors not speaking German:
If you do not retrieve the file system path, but use ItemHandleToTreePath(), the path will be Desktop\Test.txt as desired.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?
The API GetVolumeInformation() retrieves the filesystem among other things.thesmilyface wrote:2.)
Do you know a way without FSO and WMI to retrieve a drive's file system (NTFS, FAT32 etc.)?
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!