Short answer:
sfc /SCANONCE
Longer answer:
It might not work as expected. You'll need the installation CD for your computer, and it'll need to be the latest Service Pack that's installed on your system (so if you have an XP SP2 CD, and have SP3 installed, good luck). There's ways of managing around that, but that's a much larger post. Good luck!
Hope this helps!
that is the command for system file checker.
shutdown -r
Use system file checker to verify the version of all system files when Windows loads. Useful when you suspect system files are corrupted, but you can still access the Windows desktop. Command to execute it: Sfc with parameters.
The sfc scanboot command launches system file checker every time computer boots.
shutdown -r now
Edit allows a user to view, create, or modify their computer files.
To use System File Checker, you can type sfc.exe or sfc in a command prompt window or in the run dialog box. To scan the system at the next reboot, you would use the /scanonce switch (sfc/scanonce).
If the Start menu won't open, try pressing the Windows key on your keyboard or right-clicking the taskbar and selecting "Task Manager." If that doesn't work, you can restart Windows Explorer through Task Manager by finding it in the Processes tab, right-clicking, and choosing "Restart." If the issue persists, consider running a system file checker by opening Command Prompt as an administrator and typing sfc /scannow.
Sfc.exe
but
The command line function you want is: sfc /scannow The scannow switch makes it run....now. You may need your windows Xp disk, so that sfc (system file checker) can restore files it finds are corrupted.
To shut down a Windows 2008 Server Core System, at the command prompt type: Shutdown -s -t xx where -s = shut down -t xx = time to wait before shutting down in seconds, where xx =0 to 600 To shut down a Windows 2008 Server Core System immediately, at the command prompt type: Shutdown -s -t 0 where 0 = wait zero seconds (shut down immediately) To restart a Windows 2008 Server Core System, at the command prompt type: Shutdown -r -t xx where -r = reboot -t xx = time to wait before shutting down in seconds, where xx = 0 to 600 To restart a Windows 2008 Server Core System immediately, at the command prompt type: Shutdown -r -t 0 where 0 = wait zero seconds (reboot immediately)