todordonev 3 Posted November 2, 2013 Report Share Posted November 2, 2013 Hello I've just noticed that "get files" command isn't listed in Standard version so i've noticed a workaround.Dont know if its already posted but I've just tested it and its working like a charm.Create a batch file with the following line: "dir /s /b __folderhere__" Be careful with the spaces! For example i'm using it to get filenames+directory of pictures I downloaded from pinterest: "dir /s /b c:\users\__username__\desktop\pinterest" The above line gets results like the following: c:\users\__username__\desktop\pinterest\0653abdf6013c822a97187c612f2a518.jpgc:\users\__username__\desktop\pinterest\0ed795476a4df6df2aa11f7acd77034a.jpgc:\users\__username__\desktop\pinterest\142dff6563856a954fd9f0db7d10655d.jpg The next step is to execute the batch and get the results in a variable. Im using UbotDev's plugin which is super cool and its free. set(#shell, $plugin function("Advanced Shell.dll", "$shell batch hidden", "{$special folder("Desktop")}/batch.bat"), "Global") My batch file is named "batch.bat" and its located on the desktop. Thats it! Note: if you are using Windows XP you should replace the batch file so it looks like this: "dir /s /b c:\Documents and Settings\__username__\desktop\pinterest" thats if you want to use a folder located on your desktop. Note2: In the attachment you can see a slight problem which is the first line containing the command, but this can be fixed easly. UbotDev's super cool plugin:http://www.ubotstudio.com/forum/index.php?/topic/13798-free-plugin-advanced-shell/ Have fun. Quote Link to post Share on other sites
gavner25 1 Posted September 9, 2019 Report Share Posted September 9, 2019 Hello I've just noticed that "get files" command isn't listed in Standard version so i've noticed a workaround.Dont know if its already posted but I've just tested it and its working like a charm.Create a batch file with the following line: "dir /s /b __folderhere__" Be careful with the spaces! For example i'm using it to get filenames+directory of pictures I downloaded from pinterest: "dir /s /b c:\users\__username__\desktop\pinterest" The above line gets results like the following: c:\users\__username__\desktop\pinterest\0653abdf6013c822a97187c612f2a518.jpgc:\users\__username__\desktop\pinterest\0ed795476a4df6df2aa11f7acd77034a.jpgc:\users\__username__\desktop\pinterest\142dff6563856a954fd9f0db7d10655d.jpg The next step is to execute the batch and get the results in a variable. Im using UbotDev's plugin which is super cool and its free. set(#shell, $plugin function("Advanced Shell.dll", "$shell batch hidden", "{$special folder("Desktop")}/batch.bat"), "Global") My batch file is named "batch.bat" and its located on the desktop. Thats it! Note: if you are using Windows XP you should replace the batch file so it looks like this: "dir /s /b c:\Documents and Settings\__username__\desktop\pinterest" thats if you want to use a folder located on your desktop. Note2: In the attachment you can see a slight problem which is the first line containing the command, but this can be fixed easly. UbotDev's super cool plugin:http://www.ubotstudio.com/forum/index.php?/topic/13798-free-plugin-advanced-shell/ Have fun. Hi, any chance you could send me the plugin mentioned as the developers site is down ??? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.