Create a folder from script

Discuss and share scripts and script files...
Post Reply
merdmann
Posts: 2
Joined: 06 Apr 2015 08:04

Create a folder from script

Post by merdmann »

I am trying to find a xyplorer script command to create a folder. Seems to be an FAQ but i can't find any answer :-(

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Create a folder from script

Post by highend »

Help file - Advanced Topics - Scripting Command Reference - "new"

:)
One of my scripts helped you out? Please donate via Paypal

merdmann
Posts: 2
Joined: 06 Apr 2015 08:04

Re: Create a folder from script

Post by merdmann »

Cool; works:

Code: Select all

"New"
 $workspace = "D:\\Michael\\OneDrive\\workspace";
 goto $workspace;
 $p = $workspace . "\\" . "<date yyyymmddhhmm>" . "-" . rand(0);
 new($p,"dir");
 goto $p;
Thankx :-)

Post Reply