here is the code I am using:
Code: Select all
// Check to see if selected is a folder
if (exists(<curitem>) == 2) {
$path = status "<curitem>";
// Change drives
$local = regexreplace($path, 'P:', 'J:');
status $local;
// If folder already exists go there
if (exists($local) == 2) {
goto $local
}
// If folder does not exists, create it then go there
else {
new("$local", "dir", , "r");
goto $local
}
}Has anyone else done something like this?
XYplorer Beta Club