The following command works on the command line to run drivecleanup.exe, which is situated in C:\Uninstalled ProgramFiles\drivecleanup090\Win32, and to send the output to a log file:
cd C:\Uninstalled Program Files\drivecleanup090\Win32
C:\Uninstalled Program Files\drivecleanup090\Win32\drivecleanup -T >> C:\Temp\drivecleanup.log But it does not work in a batch file. Could somebody please point out to me where I am going wrong?
cd C:\Uninstalled Program Files\drivecleanup090\Win32
C:\Uninstalled Program Files\drivecleanup090\Win32\drivecleanup -T >> C:\Temp\drivecleanup.log But it does not work in a batch file. Could somebody please point out to me where I am going wrong?