Code: Select all
"Select Flash Drive Folder|:wipe" load self(file);Code: Select all
"Select Flash Drive Folder|:wipe" load *;Thanks,
Ken
Code: Select all
"Select Flash Drive Folder|:wipe" load self(file);Code: Select all
"Select Flash Drive Folder|:wipe" load *;Code: Select all
"_Initialize"
perm $Flash_Folder, $Rem_Dr;
$Rem_Dr = get("drives", 3), "|");
$Dr_Cnt = gettoken($Rem_Dr, "count", "|");
msg "You have $Dr_Cnt drive(s) installed!";
$Rem_Dr = inputselect("Select the Target Drive - Don, for testing only<crlf>select C:\:","$Rem_Dr", | ,4, ,350, 250, "Target Drive Selection");}
"_Main";
"Select Drive Folder - Don for testing select this heading instead of a menu item on the first pass, C:\ on the second pass.|:wipe" load self(file);
"-"
" $Rem_Dr&";
sub _drop_it;
" $Rem_Dr&Windows";
sub _drop_it;
" $Rem_Dr&Program Files";
sub _drop_it;
"_drop_it";
if (<get drop |> == ""){
status "Nothing to do" , , "alert";
}
else {
$Flash_Folder = ($Rem_Dr . gettoken(caller("caption"), -1, "&", "t"));
if (exists($Flash_Folder) >= 1) {
copyto $Flash_Folder, <get drop |>;
}
else {
msg "This path doesn't exist!";
}
}
"_Terminate"
unset $Flash_Folder; unset $Rem_Dr;
Code: Select all
"_Initialize"
perm $Flash_Folder, $Rem_Dr;
$Rem_Dr = get("drives", 3), "|");
$Dr_Cnt = gettoken($Rem_Dr, "count", "|");
msg "You have $Dr_Cnt drive(s) installed!";
$Rem_Dr = inputselect("Select the Target Drive - Don, for testing only<crlf>select C:\:","$Rem_Dr", | ,4, ,350, 250, "Target Drive Selection");}
"_Main";
"Select Drive Folder - Don for testing select this heading instead of a menu item on the first pass, C:\ on the second pass.|:wipe" load *;
"-"
" $Rem_Dr&";
sub _drop_it;
" $Rem_Dr&Windows";
sub _drop_it;
" $Rem_Dr&Program Files";
sub _drop_it;
"_drop_it";
if (<get drop |> == ""){
status "Nothing to do" , , "alert";
}
else {
$Flash_Folder = ($Rem_Dr . gettoken(caller("caption"), -1, "&", "t"));
if (exists($Flash_Folder) >= 1) {
copyto $Flash_Folder, <get drop |>;
}
else {
msg "This path doesn't exist!";
}
}
"_Terminate"
unset $Flash_Folder; unset $Rem_Dr;