Need Help for create folder inside a parent folder

function OnClick(clickData)
var eSel = new Enumerator(clickData.func.sourcetab.selected);

var getfoldername = eSel.item().realpath.filepart;

var re = /\s\([0-9]+?\)\.(.*)/;
var regfolder = getfoldername.replace(re, "");

var cmd = clickData.func.command;
cmd.RunCommand('Set Focus=Toggle');
cmd.RunCommand('CreateFolder NAME="' + regfolder + '" READAUTO');

//After This Line, The Folder Created in the same label But
//I want to Create the Folder inside the folder which created from the Up side Code.
//for Open the folder I have used READAUTO but the folder doesnot create inside the folder

	var cmd = clickData.func.command;
	cmd.deselect = false;

	var folderName = regfolder;

	var matches = folderName.match(/^[^.]+/);
	if (matches.length != 1) { return; }

	var newName = matches[0] + ' Covers';
	cmd.RunCommand('CreateFolder NAME="' + newName + '" READAUTO');


This Code has been created 2 Folder.
Folder1 has been Created from the Selected file name.
then the Folder2 has been Created from the Selected file names part.
They Works fine, But I want to create Folder2 inside Folder1
but the folders Created in same label.

I have tried with Go Command with Source Path argument, But It's doesn't Helped. any other idea or Help will be appreciate.

You can create multiple folder levels at once by simply specifying Folder1\Folder2 as the name.

I have tried this but not worked

	cmd.RunCommand('CreateFolder NAME="' + regfolder + '" READAUTO')\cmd.RunCommand('CreateFolder NAME="' + newName + '" READAUTO');

PLEASE do some javascript tutorials. This is getting ridiculous.

cmd.RunCommand('CreateFolder NAME="' + regfolder + '/' + newName + '" READAUTO');