Is it possible to create a directory in Scripter Automation?

I need to call ActiveX plugin. In VB you can call it with

My.Computer.FileSystem.CreateDirectory("C:\Documents and Settings\AllUsers

closed as off-topic by PolyGeo Oct 10 '17 at 20:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • There does not seem to be a GIS component to your question. – PolyGeo Oct 10 '17 at 20:22

Try using md $path -Force, per this resource Weekend Scripter: Use PowerShell to Create Folder

  • I solved it by creating a FSO – Hab Oct 20 '17 at 8:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.