Normally, those hostnames refer to either a Windows PC or a Windows-compatible printer. The share-name section indicates a label created by an administrator or sometimes within the OS. Within a UNC path, the filename refers to a local subdirectory beneath the share section. This portion is optional. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums.
Windows PowerShell. Sign in to vote. By default, those extensions are enabled and it's normal to make the assumption that extensions ARE enabled. What kind of server is the network share on if you know?
I can create multiple directories with a single mkdir on a UNC path here, so I wonder if it's the network server that's causing the glitch? I've also encountered this issue where the mkdir command will not create nested directories in a single command on a mapped network drive. I'm not sure why it won't but then again we're talking about Microsoft -- am I right? The problem may be due to the nested level of folder depth. I haven't heard of an 8 level directory limit, but maybe that depends on the network?
The pathname looks like it should be well under characters. Maybe it was a FAT32 limit? Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Thanks JamesSF. Douglas J. However, do subfolders and test both exist? MkDir is only capable of creating one level of folder at a time. John Spencer MVP. Also, I believe that the path has to be a string. Could you map the network drive to a drive letter, then work on the drive letter?
Sorry I don't know how to use vb to map a network drive programmatically. The Split function is handy to chop up a path into its folders which have to be created one at a time if they don't exist. Regards Geoff. I don't believe DOS allows the copy of tree structures: as far as I recall, you've always had to create nested folders one folder at a time.
You can create folders on a networked drive.
0コメント