Networking Forums

Networking Forums > Computer Networking > Windows Networking > Rinominare File con data attraverso un file Batch

Reply
Thread Tools Display Modes

Rinominare File con data attraverso un file Batch

 
 
Daytan
Guest
Posts: n/a

 
      09-18-2007, 04:21 PM
Attraverso un file batch vorrei rimoninare dei file con la data,
quindi dato un file pippo.txt vorrei rinominarlo in 180907.txt...
Ho provato con rename pippo.txt %date%.txt, ma sembra che non me lo
prenda penso perchè gli / della data non permessi su un nome file...
Avete qualche dritta per ottenere la data senza /, quindi invece che
18/09/07 in 180907 ?

....alla prossima...

 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      09-18-2007, 05:40 PM
Daytan <(E-Mail Removed)> wrote:
> Attraverso un file batch vorrei rimoninare dei file con la data,
> quindi dato un file pippo.txt vorrei rinominarlo in 180907.txt...
> Ho provato con rename pippo.txt %date%.txt, ma sembra che non me lo
> prenda penso perchè gli / della data non permessi su un nome file...
> Avete qualche dritta per ottenere la data senza /, quindi invece che
> 18/09/07 in 180907 ?
>
> ...alla prossima...


Salve...microsoft.public.windows.server.scripting è meglio gruppo.... ma, in
inglese!


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run a batch file remotely Dane Windows Networking 3 08-03-2009 10:25 PM
Single Batch File Vis-MCSA Windows Networking 11 12-03-2007 05:45 AM
Batch File Problems Nikon Windows Networking 2 04-26-2006 07:50 PM
batch file move across network Bob Padgett Windows Networking 1 10-30-2003 10:02 PM
NT Batch file doesn't run Carl Gross Windows Networking 5 10-08-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11