Right now I’m on a Windows Server 2003 training and we just covered creating shares (the technical detail of the training is pretty depressing…). During an example the trainer gave about creating shares from the command line, we ran into an interesting Windows bug.
Let’s say you have a folder on your C: drive called “video”. Now if you want to share it from the command line you exectute: “net share video=c:\video”. This will create a share called “video”, which shares the “c:\video” folder. If you browse to the C:\ folder in Windows Explorer, you’ll see the folder with the hand icon overlay and if you right-click it and then click “Sharing and Security”, you’ll see the share properties.
Now remove that share and execute: “net share video=c:/video” (forward slash in the pathname). The share will be created and is accesible through the network, but if you browse to the C:\ folder in Windows Explorer there is no hand icon overlay. And the sharing properties tell you the folder is not shared. Interesting Windows Explorer bug.
[Last played: - Watsgeburt]