mcgooie Posted April 8, 2008 Posted April 8, 2008 I have a fully working disk but with one problem - the quick launch toolbar is not available and i have to create it automatically which is a bit of pain. I have tried my disk but removing cleanup.cmd from RunOnceExe and the quick launch toolbar appears ok. I tried again after this including the cleanup.cmd file but the toolbar is not available. Im hoping there might be a simple mistake in my file that someone out there can spot.Here is the code:cmdow @ /HIDshutdown.exe -r -f -t 120 -c "Windows Will Restart In 120 Seconds"net user aspnet /deleteDEL /s /q "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL /s /q /s /q "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL /s /q "%systemdrive%\Documents and Settings\Administrator\Desktop\Free Download Manager.lnk"DEL /s /q "%systemdrive%\Documents and Settings\Administrator\Desktop\JCreator LE.lnk"DEL /s /q "%systemdrive%\Documents and Settings\Administrator\Desktop\Mp3tag.lnk"DEL /s /q "%systemdrive%\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk"DEL /s /q "%systemdrive%\Documents and Settings\All Users\Desktop\Mozilla Thunderbird.lnk"DEL /s /q "%systemdrive%\Documents and Settings\All Users\Desktop\Mp3tag.lnk"DEL /s /q "%systemdrive%\Documents and Settings\All Users\Desktop\VLC media player.lnk"rd /s /q "C:\Documents and Settings\Administrator\Start Menu\Programs\AC3Filter"rd /s /q "C:\Documents and Settings\Administrator\Start Menu\Programs\Mp3tag"rd /s /q "C:\Documents and Settings\Administrator\Start Menu\Programs\WinRAR"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\ASUS Utility"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\dBpowerAMP Music Converter"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\ffdshow"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Free Download Manager"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\JCreator Pro"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Kaspersky Internet Security 7.0"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Macromedia"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Mozilla Firefox"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Mozilla Thunderbird"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Nero"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\PowerQuest PartitionMagic 8.0"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\VideoLAN"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Media"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\WinRAR"rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\XviD"del /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Adobe Reader 8.1.0.lnk"del /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\MSN.lnk"del /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Movie Maker.lnk"del /s /q "C:\Documents and Settings\Administrator\Start Menu\Programs\Outlook Express.lnk"del /s /q "C:\Documents and Settings\Administrator\Start Menu\Programs\Remote Assistance.lnk"del /s /q "C:\Documents and Settings\Administrator\Start Menu\Programs\Windows Media Player.lnk"COPY "C:\installed\install\Misc.lnk" "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"COPY "C:\installed\install\DigiGuide TV Guide.lnk" "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\"EXITThanks
DL. Posted April 8, 2008 Posted April 8, 2008 You're missing a \ at the end of your first copy command.
mcgooie Posted April 8, 2008 Author Posted April 8, 2008 cant believe it was that simple and that i couldnt see it, many thanks mate
DL. Posted April 8, 2008 Posted April 8, 2008 You're welcome.Those small ones can sometimes be difficult to spot, but since the two copy commands where the only ones that had something to do with quicklaunch it had to be one of them...
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