|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Aug 2002
Messaggi: 383
|
Soft x creare link automaticamente
una strana richiesta,
esiste un software che esplorando una cartella e relative sottocartelle, "vede" tutti i files con una determinata estensione e ne crea automaticamente il link, che poi puo' essere copiabile in una pagina web o in un documento excel, nel mio caso sono quasi un migliaio di files, sparsi tra alcuni altri, da cui devo creare il link, impresa faticosa |
|
|
|
|
|
#2 | |
|
Senior Member
Iscritto dal: Mar 2001
Città: PV Milano Nord
Messaggi: 3851
|
Re: Soft x creare link automaticamente
Quote:
Codice:
echo ^<html^>^<body^> > prova.html & for /r %N in (*.mp3) do @echo ^<li^>^<a href="file://%N"^>%~nN^</a^>^</li^> >> prova.html & echo ^</body^>^</html^> >> prova.html PS: mi scuso con l'autore del code ma non mi ricordo + chi è e non posso attribuirgli i meritatissimi CREDITI
__________________
"W la foca, che dio la benedoca"
poteva risolvere tutto la sinistra negli anni in cui ha governato e non l'ha fatto. O sono incapaci o sta bene anche a "loro" cosi. L'una o l'altra inutile scandalizzarsi.[plutus] |
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Aug 2002
Messaggi: 383
|
ottimo, grazie zuper, veramente semplice e veloce,
complimenti anche a chi l'ha scritto, cosi' crea automaticamente un file "prova.html" con all'interno tutti i link ai files, usando come testo il nome del file stesso, per esempio: LISTA.m3u io pero' vorrei come testo il percorso di tali file: per esempio: T\Tuxedomoon\Ship Of Fools\LISTA.m3u questo perche come si capisce dall'esempio i miei files si chiamano tutti allo stesso modo, credo si tratta di una piccola modifica, meglio ancora sarebbe poter stabilire il livello delle cartelle da inserire nel testo, cosi' da avere: Tuxedomoon\Ship Of Fools ma sarebbe davvero chiedere troppo |
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Mar 2001
Città: PV Milano Nord
Messaggi: 3851
|
You can now use the following optional syntax:
%~I - expands %I removing any surrounding quotes (") %~fI - expands %I to a fully qualified path name %~dI - expands %I to a drive letter only %~pI - expands %I to a path only %~nI - expands %I to a file name only %~xI - expands %I to a file extension only %~sI - expanded path contains short names only %~aI - expands %I to file attributes of file %~tI - expands %I to date/time of file %~zI - expands %I to size of file %~$PATH:I - searches the directories listed in the PATH environment variable and expands %I to the fully qualified name of the first one found. If the environment variable name is not defined or the file is not found by the search, then this modifier expands to the empty string The modifiers can be combined to get compound results: %~dpI - expands %I to a drive letter and path only %~nxI - expands %I to a file name and extension only %~fsI - expands %I to a full path name with short names only %~dp$PATH:I - searches the directories listed in the PATH environment variable for %I and expands to the drive letter and path of the first one found. %~ftzaI - expands %I to a DIR like output line
__________________
"W la foca, che dio la benedoca"
poteva risolvere tutto la sinistra negli anni in cui ha governato e non l'ha fatto. O sono incapaci o sta bene anche a "loro" cosi. L'una o l'altra inutile scandalizzarsi.[plutus] |
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Aug 2002
Messaggi: 383
|
con le guide in inglese ho qualche problema,
hai qualche link a siti italiani per approfondire l'argomento, |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 05:37.



















