Advertisement
illpastethat

Remove Timestamps for DJOrwell

Oct 28th, 2011
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.38 KB | None | 0 0
  1. alias remstamp {
  2.   var %file $iif($1,$1,$?="Enter the FULL path of the file to remove timetamps from")
  3.   var %new $replace(%file,$right(%file,4),-remstamp $+ $right(%file,4))
  4.   echo -ac info Removing timestamps from %file -- Creating %new
  5.   var %i 1
  6.   while (%i <= $lines(%file)) {
  7.     tokenize 93 $read(%file,%i)
  8.     write %new $iif($2,$2-,$1-)
  9.     inc %i
  10.   }
  11.   run %new
  12. }
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement