フォルダ一覧<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />やあ、
JSLを使用して特定のディレクトリ内のフォルダのリストを取得するソリューションを楽しみにしています。
前もって感謝します!
ジェローム
Re: フォルダ一覧それは本当にうまくいきます。
Re: フォルダ一覧確かに、このような何かが役立つはずです!
これをスクリプトに挿入しようとしますが、先に進むのに役立つはずです!
どうもありがとうイアン!
ジェローム
Re: フォルダ一覧もしかして、こういうこと?
Names Default To Here( 1 );
// Given a path to a folder, returns a list of all folders therein (not recursive!)
dirList =
Function({path}, {Default Local},
// Get all files and folders in the specified folder
fid = Files In Directory( path);
// Remove all the files, just leaving the folders
for(f=NItems(fid), f>=1, f--, if(IsFile(path||"/"||fid[f]), RemoveFrom(fid, f)));
fid;
);
// Try out the function
path = "$DESKTOP";
Print(dirList(path));