Jump to content
em

Desktop plin de iconițe - Soluție

Recommended Posts

Posted

messy_desktop.jpg

Eu sunt foarte dezorganizat.

?ti?i povestea, ave?i un desktop plin de iconi?e ?i ce solu?ie a?i g?sit? Face?i un folder "New folder". Dup? un timp apare iar problema ?i face?i un "New folder (2)" pe care îl pune?i în primu, recursiv.

Eu nu ?terg nimic niciodat? a?a c? mai demult mi-am f?cut un .bat care îmi rezolv? problema. Ce face? Face un folder cu data de azi ?i pune fi?ierele pe categorii în el. Apoi o s? pute?i s? le muta?i voi într-un folder Arhiva din alt? parte pe un hdd extern, or online whatever. (De obicei este util numele folderului ca dat? deoarece atunci când cau?i ceva mai vechi sigur ai idee cam când l-ai folosit ultima dat?)


@echo off
set folder=%DATE%
md %folder%
cd %folder%
md Pic
md Media
md Prog
md Docs
md Other
cd ..
move *.exe %folder%/Other
move *.cpp %folder%/Prog
move *.txt %folder%/Docs
move *.docx %folder%/Docs
move *.pdf %folder%/Docs
move *.xlsx %folder%/Docs
move *.doc %folder%/Docs
move *.gif %folder%/Pic
move *.xls %folder%/Docs
move *.c %folder%/Prog
move *.torrent %folder%/Other
move *.avi %folder%/Media
move *.java %folder%/Prog
move *.class %folder%/Prog
move *.mpg %folder%/Media
move *.mp3 %folder%/Media
move *.o %folder%/Prog
move *.rar %folder%/Other
move *.zip %folder%/Other
move *.jpg %folder%/Pic
move *.bmp %folder%/Pic
move *.png %folder%/Pic
move *.srt %folder%/Media

Salva?i fi?ierul pe ecran clean.bat pe ecran ?i rula?i.

Modifica?i dup? preferin?e.

P.S.: "Scriptul" nu se atinge de scurtaturi.

Merge doar pe win7!.

Dac? nu v? merge sau rula?i WinXP derula?i mai jos.

  • Upvote 2
Posted

Foarte util, doar ca eu am tot felul de porcarii pe desktop care mi-au ramas acolo, am fisiere cu extensii .psd, .xml, .sql, .ico pe care nu le-a mutat. Dar oricum, e usoara rezolvarea avand in vedere ca nu e cine stie ce cod.

Felicitari!

Posted
La mine nu muta nimic,imi creaza doar folderele.

Of. Acum v?d c? nu merge pe WinXP. Încerc s? g?sesc o solu?ie.

Solu?ia


@echo on
set folder=%DATE%
set folder=%folder:/=.%
md "%folder%"
cd "%folder%"
md Pic
md Media
md Prog
md Docs
md Other
cd ..
move *.exe "%folder%/Other"
move *.cpp "%folder%/Prog"
move *.txt "%folder%/Docs"
move *.docx "%folder%/Docs"
move *.pdf "%folder%/Docs"
move *.xlsx "%folder%/Docs"
move *.doc "%folder%/Docs"
move *.gif "%folder%/Pic"
move *.xls "%folder%/Docs"
move *.c "%folder%/Prog"
move *.torrent "%folder%/Other"
move *.avi "%folder%/Media"
move *.java "%folder%/Prog"
move *.class "%folder%/Prog"
move *.mpg "%folder%/Media"
move *.mp3 "%folder%/Media"
move *.o "%folder%/Prog"
move *.rar "%folder%/Other"
move *.zip "%folder%/Other"
move *.jpg "%folder%/Pic"
move *.bmp "%folder%/Pic"
move *.png "%folder%/Pic"
move *.srt "%folder%/Media"

Offtopic. Mi se pare de necrezut c? bashul de xp nu e compatibil cu cel de win7. O mare prostie.

Posted

Si eu am dezordine tot timpu pe desktop. Eu creez un folder gen Desktop 15 si le copiez acolo toate. Am un folder unde sunt mai multe desktop`uri (pana pe la 12-13). Un desktop ma "tine" cam 4-5 luni :P

Posted

Ai rulat de pe desktop ?i nu s-a întâmplat nimic? Ciudat.

Later Edit: LegendKiller avea mai multe monitoare (pe extended) ?i nu vedea folderul creat. :)

Posted (edited)

Eu am intotdeauna un Folder TEMP dar cu timpul nu mai stie nici dracu ce e acolo...ajunge si la 500mb.Mersi

ps: nu muta mp3.urile (xp sp3)

LE: gata..nu vazusem ca nu e pus % la mp3

Edited by LLegoLLaS
  • Upvote 1
Posted (edited)

@echo on
set folder=%DATE%
set folder=%folder:/=.%
md "%folder%"
cd "%folder%"
md Pic
md Media
md Prog
md Docs
md Other
cd ..
move *.exe "%folder%/Other"
move *.cpp "%folder%/Prog"
move *.php "%folder%/Prog"
move *.html "%folder%/Prog"
move *.htm "%folder%/Prog"
move *.js "%folder%/Prog"
move *.ink "%folder%/Shortcuts"
move *.Ink "%folder%/Shortcuts"
move *.txt "%folder%/Docs"
move *.docx "%folder%/Docs"
move *.pdf "%folder%/Docs"
move *.xlsx "%folder%/Docs"
move *.doc "%folder%/Docs"
move *.gif "%folder%/Pic"
move *.xls "%folder%/Docs"
move *.c "%folder%/Prog"
move *.torrent "%folder%/Other"
move *.avi "%folder%/Media"
move *.java "%folder%/Prog"
move *.class "%folder%/Prog"
move *.mpg "%folder%/Media"
move *.mp3 "%folder%/Media"
move *.o "%folder%/Prog"
move *.rar "%folder%/Other"
move *.zip "%folder%/Other"
move *.jpg "%folder%/Pic"
move *.bmp "%folder%/Pic"
move *.png "%folder%/Pic"
move *.srt "%folder%/Media"

Reparat mutarea mp3-urilor si in + muta si shortcut-urile si inca cateva tipuri de fisiere :)

Am facut si un mic program: http://www.hotfiles.ro/download/rst_dirty_cleaner.rar/266159 parola:

VT: http://www.virustotal.com/file-scan/report.html?id=40f1f3f6298b1c6efa536dec30e4343be5211b1d6ab02af15f7dc19e43af8a96-1311625710

Edited by Silviu
Posted

Reparat mutarea mp3-urilor si in + muta si shortcut-urile si inca cateva tipuri de fisiere :)

Mersi de corectare, am corectat ?i eu în primul post. Am ales s? nu mute scurt?turile pentru c? unii au pe ecran scurt?turi la care nu ar vrea s? renun?e.

De asemenea, ii multumesc si lui LLegoLLaS pentru acel "bug report" :)

Posted (edited)

[+]in timp se va umple desktopul de foldere-data,deci ele vor fi create intr-un folder TEMP

[+]separa torrent de restu'

[+]shortcuturi (+r silvian0)

[+].PSD ->Projects

[+] sterge thumbs.db daca aveti setat sa se afiseze fisierele ascunse

[+].wav,.wma,.flac

[-] nu stiu cum sa ma intorc la desktop in mod ''universal'' Mersi em :D

[+].ico


@echo on

set folder=%DATE%
set folder=%folder:/=.%
md TEMP
cd TEMP
md "%folder%"
cd "%folder%"
md Pic
md Media
md Prog
md Docs
md Other
md Torrents
md Shortcuts
md Projects

cd ..\..
DEL Thumbs.db
move *.exe "TEMP/%folder%/Other"
move *.lnk "TEMP/%folder%/Shortcuts"
move *.cpp "TEMP/%folder%/Prog"
move *.txt "TEMP/%folder%/Docs"
move *.docx "TEMP/%folder%/Docs"
move *.pdf "TEMP/%folder%/Docs"
move *.xlsx "TEMP/%folder%/Docs"
move *.doc "TEMP/%folder%/Docs"
move *.gif "TEMP/%folder%/Pic"
move *.xls "TEMP/%folder%/Docs"
move *.c "TEMP/%folder%/Prog"
move *.torrent "TEMP/%folder%/Torrents"
move *.avi "TEMP/%folder%/Media"
move *.java "TEMP/%folder%/Prog"
move *.class "TEMP/%folder%/Prog"
move *.mpg "TEMP/%folder%/Media"
move *.mp3 "TEMP/%folder%/Media"
move *.o "TEMP/%folder%/Prog"
move *.rar "TEMP/%folder%/Other"
move *.zip "TEMP/%folder%/Other"
move *.jpg "TEMP/%folder%/Pic"
move *.bmp "TEMP/%folder%/Pic"
move *.png "TEMP/%folder%/Pic"
move *.srt "TEMP/%folder%/Media"
move *.psd "TEMP/%folder%/Projects"
move *.flac "TEMP/%folder%/Media"
move *.wav "TEMP/%folder%/Media"
move *.wma "TEMP/%folder%/Media"
move *.ico "TEMP/%folder%/Pic"

ps: astept completari sa vedem la cate linii ajungem :))

Edited by LLegoLLaS
completare
  • Upvote 1
Posted
[+]in timp se va umple desktopul de foldere-data,deci ele vor fi create intr-un folder TEMP

[+]separa torrent de restu'

[+]shortcuturi (+r silvian0)

Înlocuie?te


cd "C:\Documents and Settings\MallVollio\Desktop"

cu


cd ..\..

  • Upvote 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...