1.

Solve : need a little script or software program to remove the .vir extensions on files?

Answer»

can anyone please help me with this:  I have a folder that has FILES and subfolders  and all the files have the .VIR extension APPENDED  by an antivirus program.  I know these are not infected, I just want to RECOVER them back to the original file extension.  example -- dimstat.pdf.vir should be dimstat.pdf   These files are part of a lighting design software and now the program doesn't work.  The subfolders can GO down 3 or 4 levels.  this is on a windows XP professional pc, SP3.Code: [Select]pushd "C:\path to top level folder\"
FOR /F "tokens=* delims=" %%G in ('dir /a-d /b /s *.vir') do rename "%%~G" "%%~dpnG"



Discussion

No Comment Found