Teamdrive stört dir Befehl; TD disables dir - command

Use this forum to report bugs you find - Benutzen Sie dieses Forum, um Fehler zu melden, die Sie finden

Teamdrive stört dir Befehl; TD disables dir - command

Postby EI-Systems » 02 Jul 2013, 11:23

Hallo Zusammen,

habe gerade einen unangenehmen Nebeneffekt des Teamdrive - Clients feststellen müssen:
Das Dir - Kommando zeigt keine Teamdrive Ordner an - damit scheitern alle Prüfungen, ob das Verzeichnis überhaupt existiert, bevor man dort Dateien erzeugt!
Zum reproduzieren des Problems im DOS-Fenster in das Stamm-Verzeichnis der Spaces wechseln und dir eingeben - "normale" Ordner erscheinen, Spaces nicht...

Hi there,
if you run a dir command to list your directories, teamdrive - spaces are missing in the listing!
if you run a mkdir afterwards, it throws an exception directory already exists.

How to reproduce this behaviour:
Open a dos prompt and change to the root-directory of your spaces. Enter dir
You see all "normal" directories, spaces are missing from the list.
EI-Systems
 
Posts: 6
Joined: 28 Sep 2012, 10:28

Re: Teamdrive stört dir Befehl; TD disables dir - command

Postby Kenneth » 03 Jul 2013, 17:43

Assuming you're on Windows, use 'dir /AS'
Kenneth
 
Posts: 1277
Joined: 29 Aug 2012, 15:11

Re: Teamdrive stört dir Befehl; TD disables dir - command

Postby EI-Systems » 18 Jul 2013, 11:46

Hi Kenneth,

thanks a million for your tip - it does the trick.
Funny enough, if you use the dir command in DOS, it lists only teamdrive folders with dir /A:DS;
it lists all folders including teamdrive when using dir /AD.
If you repeat the same steps in VB, dir with vbDirectory switch lists only folders without system bit - so the teamdrive folders are missing.
But if you run dir with vbDirectory + vbSystem, you get all folders.

A bit odd, but anyway - problem solved.

Hier noch die Zusammenfassung auf deutsch:
Syntax von dir im DOS-Fenster und in VB ist unterschiedlich:
DOS:
dir /A:DS listet NUR Verzeichnisse mit System-Bit, also alle Teamdrive Ordner
dir /A:D listet ALLE Verzeichnisse, unabhängig ob System oder nicht...

VB:
dir(Pfad,vbDirectory) listet nur Verzeichnisse ohne System-Bit, entsprechend fehlen alle TeamDrive Ordner
dir(Pfad,vbDirectory + vbSystem) listet ALLE Verzeichnisse

Hoffe, es spart jemandem die Sucherei.

Andreas
EI-Systems
 
Posts: 6
Joined: 28 Sep 2012, 10:28


Return to Bug Reports - Fehler Melden

Who is online

Users browsing this forum: No registered users and 7 guests

cron