lolliman Posted December 18, 2012 Report Posted December 18, 2012 naaku koncham logic kaavali using VBA(macros and imacros) naa daggara oka 1000 movies vunnayi vaatannintiki genre(file attribute) raayalanukuntunna.. (so that we can sort them by genre) deenikosam oka windows application/VBA kaavali... ela start cheyyalo ardam avvatleee... koncham mee inputs iyyandi baaa..
lolliman Posted December 18, 2012 Author Report Posted December 18, 2012 [quote name='Sudheerudu' timestamp='1355870764' post='1302976314'] You jabbinng..LTT [/quote] emannav baaa
pikki Posted December 18, 2012 Report Posted December 18, 2012 [img]http://gifsoup.com/view7/3938108/kewl111-o.gif[/img]
deals2buy Posted December 18, 2012 Report Posted December 18, 2012 [quote name='lolliman' timestamp='1355871447' post='1302976373'] emannav baaa [/quote] job vachinda antunnadu btw LTT
pikki Posted December 18, 2012 Report Posted December 18, 2012 [quote name='minnu' timestamp='1355871680' post='1302976393'] [/quote] sare...[img]https://lh3.googleusercontent.com/-sHZrhyTsG6o/UJBuvU7dNJI/AAAAAAAAHs4/-lfStpdO0vU/s150/Brahmi-2.gif[/img]
minnu Posted December 18, 2012 Report Posted December 18, 2012 [quote name='pikki' timestamp='1355871753' post='1302976397'] sare...[img]https://lh3.googleusercontent.com/-sHZrhyTsG6o/UJBuvU7dNJI/AAAAAAAAHs4/-lfStpdO0vU/s150/Brahmi-2.gif[/img] [/quote] pikki [img]http://i56.tinypic.com/dh2tcn.gif[/img]
tom bhayya Posted December 18, 2012 Report Posted December 18, 2012 req ardham kaledhu rey lolli... 1000 movies unnayi antey video files unnayi or folders unnayaa? genre cheppey parameter enti
lolliman Posted December 18, 2012 Author Report Posted December 18, 2012 [quote name='Alexander' timestamp='1355872355' post='1302976430'] req ardham kaledhu rey lolli... 1000 movies unnayi antey video files unnayi or folders unnayaa? genre cheppey parameter enti [/quote] 1000 movies files baa properties lo attributes vuntai gaa(TAG/COMMENT)
lolliman Posted December 18, 2012 Author Report Posted December 18, 2012 [quote name='lolliman' timestamp='1355875007' post='1302976771'] 1000 movie files baa properties lo attributes vuntai gaa(TAG/COMMENT) [/quote]
lolliman Posted December 18, 2012 Author Report Posted December 18, 2012 [quote name='deals2buy' timestamp='1355871735' post='1302976396'] job vachinda antunnadu btw LTT [/quote] no job ree... edo time pass ki chestunnaa imacros tho try chestunna might be work avvuddemo choodali [quote name='minnu' timestamp='1355871680' post='1302976393'] [/quote] [quote name='pikki' timestamp='1355871500' post='1302976377'] [img]http://gifsoup.com/view7/3938108/kewl111-o.gif[/img] [/quote] thank you guys
deals2buy Posted December 19, 2012 Report Posted December 19, 2012 [quote name='lolliman' timestamp='1355875171' post='1302976783'] no job ree... edo time pass ki chestunnaa imacros tho try chestunna might be work avvuddemo choodali thank you guys [/quote] nenu kuda timepass ki okati chestunna ilaantide...chuddam ela work avutundo
ChampakDas Posted December 19, 2012 Report Posted December 19, 2012 Steps: 1. Create a main folders and sub folders for instance; comedy, thriller etc etc. 2. Access the folder where the movie files are present and iterate through each movie file. For each movie file access the genre properties. I hope all the files have the genres. 3. While iterating through each file based on the genre that you get save it in the corresponding folder. Are you able to access the properties of the file? Copying some piece of my code that is little different if not the purpose. [CODE] //Create a new subfolder under the current active folder string newPath = System.IO.Path.Combine(activeDir, "Set"); //For creating the folders string[] files1 = System.IO.Directory.GetFiles(sourcePath2); for (int i = 1; i <= 20; i++) { System.IO.Directory.CreateDirectory(newPath + i); } [/CODE] piece of code to copy(you can move instead) [CODE] fileName = System.IO.Path.GetFileName(files1[icount - 1]); targetinside = newPath + foldernamecount; destFile = System.IO.Path.Combine(targetinside, fileName); s = sourcePath2 + @"\" + fileName; System.IO.File.Copy(s, destFile, true); [/CODE] enjoy...all the best
deals2buy Posted December 19, 2012 Report Posted December 19, 2012 [quote name='GatisKandis' timestamp='1355877664' post='1302977080'] Steps: 1. Create a main folders and sub folders for instance; comedy, thriller etc etc. 2. Access the folder where the movie files are present and iterate through each movie file. For each movie file access the genre properties. I hope all the files have the genres. 3. While iterating through each file based on the genre that you get save it in the corresponding folder. Are you able to access the properties of the file? Copying some piece of my code that is little different if not the purpose. [CODE] //Create a new subfolder under the current active folder string newPath = System.IO.Path.Combine(activeDir, "Set"); //For creating the folders string[] files1 = System.IO.Directory.GetFiles(sourcePath2); for (int i = 1; i <= 20; i++) { System.IO.Directory.CreateDirectory(newPath + i); } [/CODE] piece of code to copy(you can move instead) [CODE] fileName = System.IO.Path.GetFileName(files1[icount - 1]); targetinside = newPath + foldernamecount; destFile = System.IO.Path.Combine(targetinside, fileName); s = sourcePath2 + @"\" + fileName; System.IO.File.Copy(s, destFile, true); [/CODE] enjoy...all the best [/quote]
Recommended Posts