hi, i would like to create an user command for create 2 folders (A16 and AGFT) and sub-folders from path of source windows:
Here my initial folder (different each time i use the command):
For example, here my source path:
"C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\CM4000"
First create folder "A16"
Path is now
"C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\CM4000\A16"
Create folder "L" inside the folder A16
Path is: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\CM4000\A16\L"
Create inside another folder "LABART" inside the folder L
Path: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\A16\L\LABART"
Create inside another folder "CM4000" inside the folder LABART
Path: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\A16\L\LABART\CM4000"
and doing the same for the folder AGFT
Path: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\AGFT\L\LABART\CM4000"
See attachement for more screenshot in order a1 to a5
Here the beginning of the script:
@var $path0 = GetSourceFocusPath();
@var $filename = 'C:\temp\Path.txt';
@var $format = 0;
SaveStringToFile( $filename, $path0, $format , 1);
After i can't trim the the path to create folder
Actually i use the create folder button for all the folders (use A16;AGFT;L;LABART;CM4000 command for it) and move the folder after
I think it's possible to make it easly with multi-script !
Thanks