January 18, 201412 yr I need this expression modified to create a folder in C:images "cmd /c md " & Quote ( "W:""& SES_SESSIONS::id & "Previews")
January 18, 201412 yr "cmd /c md " & Quote ( "c:images" & SES_SESSIONS::id & "Previews") However: if you mean on the C drive of the server then this is not going to work. I'm guessing that the W drive points to a network share, right? If my assumption is correct you could share c:images on the server and map it to the W drive letter
January 18, 201412 yr Author You are correct. It is on the server. I do need to upload images to it from a workstation, so it is a shared folder, but why do I have to designate it a "W" drive? I was using a "W" drive not on a server, temporarily as I developed the solution.
January 18, 201412 yr So you are saying that the folder C:images is shared on the server. What is the share name?
January 18, 201412 yr Author Lets say the server is named "Mainserver" and each workstation maps to the images folder using X as the drive letter.
January 18, 201412 yr No, the concept of a mapped drive is that it makes this: Mainserverimages (where "Mainserver" is the name of the server and "images" is the name of the share - not necessarily the name of the shared folder!) into this: W: Using mapped drives adds a bit of complexity as: - sometimes they get "unmapped" - it has the be the same drive letter for all the users So you may choose to use that UNC format instead of a mapped drive letter.
March 10, 201411 yr Newbies Finding this Post has certainly made my day easier or at least what im working on clearer but im still left with a slight problem... the solution im working on is cross platform and just to make things interesting they are writing to a NAS drive not a win server. hmmm given the name of this thread i possibly should have started a new post...?
March 10, 201411 yr If you want to use the OS-level commands then you you need a mechanism specific to Windows and one to Mac and branch your code depending on the OS of the client.
Create an account or sign in to comment