How do I rebuild files using Command Prompt (DOS)?
Description

Some users might experience an error with regards to a data file that has become corrupt, due to unforeseen events. These errors include “Status 98” errors. The reindex/rebuild function is used to rebuild or recreate an indexed file.

This solution will assist to rebuild files through Command Prompt, also known a DOS.


Cause
Resolution

CAUTION: Before you rebuild any files, ensure all other users have exit the payroll application.

Rebuild through Command Prompt

(An alternative to rebuild files through Support Help click on the solution "How do I rebuild files through Support Help" )

  • Right-click on you payroll application shortcut on your desktop and click on Properties
  • Click on Open File Location 
  • Take note of the path in the "Start in" block - this is where the application is installed or accessed from. This is required in order to navigate to the system folder to do the rebuild
  • Click on search button next to your on-screen Windows icon (bottom left of the screen on the task bar) and type in CMD
  • Select the Command Prompt app which will open the black Command Prompt screen (known to many as the DOS screen)
  • The location will always default to the c:\users\<username> folder)
  • type in cd\ <enter>, which will change the location to c:\>
  • If your system is on another disk or mapped drive, you will have to change the drive letter. To change the drive letter, type in the drive letter and colon (:), then press enter (e.g v: and press <enter>)
  • To change to the directory, type in cd\ followed by the folder name in "Start in" block (E.g. cd\Sage\Premier and press <enter>)
  • Type in the rebuild command vutil32.exe -r -a <filename.pay> and press <enter>
  • The file will be rebuilt and you will be able to continue with accessing the application and processing.

 TIP: If you need to run the command for all data files, you can use the command vutil32.exe -r -a *.pay and press <enter>

 CAUTION: Should you receive any error messages during the process, search for the specific error message on Knowledgebase for possible solutions



Steps to duplicate
Related Solutions