October 6, 200421 yr Newbies Any script to create a new folder on a network volume available? I would appreciate any help.
October 6, 200421 yr Nothing in ScriptMaker can do this without help. Plug-ins may offer the functionality, or OS-level batch files or script languages.
October 6, 200421 yr Author Newbies Thanks for the reply Vaughan. I was looking at the "send dde execute" or "send message" script defintions and was wondering if one of these would work. I just don't know how to format either one of those to make this happen or if it is even possible with one of them? Thanks.
October 6, 200421 yr RK, a. Create a script (name it whatever you want.) b. Add the "Send Message" step (its near the bottom of the list in v6.) c. Choose the "Text" radio button and enter "cmd /c md c:MyDirectory" without the quotes into the field. When you run the script it should create a directory (folder) called "MyDirectory" on the root of your c: drive. To explain what's going on, the [cmd] launches the shell. The [/c] switch makes the window close when the script is finished. If you want the window to remain open (for troubleshooting) then leave the [/c] switch out. The [md] portion is the command to Make a Directory. And lastly, the [c:MyDirectory] portion is the path and folder that you want to create. Hope this helps.
October 7, 200421 yr Author Newbies Hey thanks, I modified this and got it to create the folder on a network drive like I wanted. Thanks again.
October 11, 200421 yr Be careful with this if you are using it in a multi-user environment. If the user does not have full permissions on the volume, the script will fail with no error messages.
Create an account or sign in to comment