Nugzo Posted April 29, 2005 Share Posted April 29, 2005 After Unattended windows is installed, The "D" Folder on C: wont delete with cleanup command, the other folders delete with no problems. The "D" Folder is from the bashrat driver pack (Thanks by the way bashrat for a nice pack) Here's my Cleanup.cmd textcmdow @ /HIDshutdown.exe -r -f -t 90 -c "Windows XP will now restart in 1.5 minutes..."net user aspnet /deleteDEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\RD /S /Q %systemdrive%\D\ Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted April 29, 2005 Share Posted April 29, 2005 Do you have a Creative Audigy/Live! card? Link to comment Share on other sites More sharing options...
Nugzo Posted April 29, 2005 Author Share Posted April 29, 2005 Yes i do Audigy2zs Link to comment Share on other sites More sharing options...
sixpack Posted April 29, 2005 Share Posted April 29, 2005 try thisRD /S /Q "%systemdrive%\D" Link to comment Share on other sites More sharing options...
Nugzo Posted April 29, 2005 Author Share Posted April 29, 2005 ok thanks, that worked fine on my main system with audigy, however not on my other rig, using onboard sound. tried the original way and the way u suggested, it's still there. and oh yeah i donated 20 bucks on yer site via paypal earlier today. thanks alot for your help and driver pack Link to comment Share on other sites More sharing options...
gunsmokingman Posted April 29, 2005 Share Posted April 29, 2005 Try This Then To remove The Last FolderSave This As FcleanUp.vbs On Error Resume Next Dim ACT : Set ACT = CreateObject("WScript.Shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Loc = ACT.ExpandEnvironmentStrings("%SystemDrive%") Smenu = ACT.ExpandEnvironmentStrings("%ALLUSERSPROFILE%") Fso.deleteFile(Smenu & "\Start Menu\Windows Update.lnk") Fso.deleteFile(Smenu & "\Start Menu\Set Program Access and Defaults.lnk") Fso.deleteFile(Smenu & "\Start Menu\Windows Catalog.lnk") Fso.Deletefolder(Loc & "\drivers") Fso.Deletefolder(Loc & "\D") Fso.Deletefolder(Loc & "\Install") Set ACT = Nothing Set Fso = Nothing Link to comment Share on other sites More sharing options...
Nugzo Posted April 29, 2005 Author Share Posted April 29, 2005 thanks you ... will try as soon as i know where to save it and how to execute it. Link to comment Share on other sites More sharing options...
Nugzo Posted May 2, 2005 Author Share Posted May 2, 2005 Anybody help me with that? Pleeaase!?! Link to comment Share on other sites More sharing options...
Gouki Posted May 2, 2005 Share Posted May 2, 2005 I have the same error!! Please help!!I have Creative Live! Link to comment Share on other sites More sharing options...
ewieldra Posted May 3, 2005 Share Posted May 3, 2005 same problem here.. but i've found a solution which solves minedownload XRD.EXE and copy it into $OEM$\$$\SYSTEM32Replace your RD Command with the followingAttrib -R -H %systemdrive%\D\*.* /S /DXRD %systemdrive%\D /S /Q /Y /FRD %systemdrive%\D /S /Qif you use the batch_file.cmd which installs applications increase the ShutDown Command with 60 Seconds to 180and if you want you could even remove the XRD.EXE from the system32 folderwith the following commanddel %systemroot%\system32\xrd.exe /S Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now