home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwplascr.zip / XWPL0208.ZIP / 001 / ren100.cmd < prev   
OS/2 REXX Batch file  |  1999-12-30  |  966b  |  36 lines

  1. @echo off
  2.  
  3. REM This will rename lots of HTML source files for the
  4. REM HLP file and update the links in the
  5. REM HTML sources also.
  6. REM For this to work, tools/strrpl.exe must be on your PATH.
  7.  
  8. REM change the following command to the directory where this
  9. REM script should change to (containing all the INF HTML sources)
  10. SET SUBDIR=inf.001
  11.  
  12. echo Warning: This script will rename a lot of files in the %SUBDIR% directory.
  13. echo Please read the comments in this script to find out more.
  14. echo Press Ctrl+C to abort now or any other key to continue.
  15. PAUSE > NUL
  16.  
  17. CD %SUBDIR%
  18.  
  19. REM This command is for deleting all .LONGNAME EAs. If you
  20. REM don't have my CommandPak utilities, you can delete this
  21. REM line. But make sure the .LONGNAMEs are delete in some
  22. REM other way, or the WPS might still display the old filenames.
  23. call xren.cmd -dL *
  24.  
  25. ren 066bootlogo.htm xsd_03bootlogo.html
  26. strrpl *.html 066bootlogo.htm xsd_03bootlogo.html
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.