Screwz Luse Posted April 12, 2005 Posted April 12, 2005 I've been working with my unattended DVD for a while but just started having a problem with it and can't figure out what I may have done to cause the problem. The Quick Launch folder in C:\Documents and Settings\Administrator\Application Data\Internet Explorer has become a file instead of a folder for some reason. I have no idea why so my shortcuts can't copy properly and the quick launch toolbar is blank. I can't figure out where the problem lies. My last batch file is below (launched upon the second automatic logon):cmdow @ /HID@echo offECHO PLEASE WAIT::Remove Misc FoldersRD /S /Q "C:\My Shared Folder"RD /S /Q "C:\Documents and Settings\All Users\Start Menu\Programs\PrintMe Internet Printing"::Remove Desktop ShortcutsDEL "C:\Documents and Settings\All Users\Desktop\Adobe Reader 6.0.lnk"DEL "C:\Documents and Settings\All Users\Desktop\Microsoft Baseline Security Analyzer 1.2.lnk"DEL "C:\Documents and Settings\All Users\Desktop\Java Web Start.lnk"DEL "C:\Documents and Settings\All Users\Desktop\AVG Free.lnk"DEL "C:\Documents and Settings\Administrator\Desktop\Mozilla Thunderbird.lnk"DEL "C:\Documents and Settings\All Users\Desktop\Mozilla Thunderbird.lnk"DEL "C:\Documents and Settings\Administrator\Desktop\Mozilla Firefox.lnk"::Remove Unneeded Start Menu Shortcuts::DEL "C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\finish.cmd.lnk"DEL "C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\OpenOffice.org 1.1.4.lnk"DEL "C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft Baseline Security Analyzer 1.2.lnk"DEL "C:\Documents and Settings\All Users\Start Menu\Programs\MSN Explorer.lnk"DEL "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Messenger.lnk"DEL "C:\Documents and Settings\All Users\Start Menu\Programs\Adobe Reader 6.0.3.lnk"::Create 3 New Folders For The Start MenuMD "C:\Documents and Settings\All Users\Start Menu\Programs\Multimedia"MD "C:\Documents and Settings\All Users\Start Menu\Programs\Online Stuff"MD "C:\Documents and Settings\All Users\Start Menu\Programs\Utilities"::Move Start Menu Folders Into Previously Created FoldersMOVE /Y "C:\install\shortcuts\Mozilla Sunbird.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Online Stuff"MOVE /Y "C:\install\shortcuts\TaskSwitchXP" "C:\Documents and Settings\Administrator\Start Menu\Programs\Utilities"MOVE /Y "C:\install\shortcuts\mIRC.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Online Stuff""MOVE /Y "C:\install\TaskSwitchXP" "C:\Program Files\Utilities"MOVE /Y "C:\install\AVG\avg_update-040705.bin" "C:\Documents and Settings\Administrator\Desktop"MOVE /Y "C:\Documents and Settings\All Users\Start Menu\Programs\K-Lite Codec Pack" "C:\Documents and Settings\All Users\Start Menu\Programs\Multimedia"MOVE /Y "C:\Documents and Settings\All Users\Start Menu\Programs\Kazaa Lite K++" "C:\Documents and Settings\All Users\Start Menu\Programs\Multimedia"MOVE /Y "C:\Documents and Settings\Administrator\Start Menu\Programs\Mozilla Firefox" "C:\Documents and Settings\All Users\Start Menu\Programs\Online Stuff"MOVE /Y "C:\Documents and Settings\All Users\Start Menu\Programs\Java Web Start" "C:\Documents and Settings\All Users\Start Menu\Programs\Online Stuff"MOVE /Y "C:\Documents and Settings\All Users\Start Menu\Programs\AVG Free Edition" "C:\Documents and Settings\All Users\Start Menu\Programs\Utilities"MOVE /Y "C:\Documents and Settings\Administrator\Start Menu\Programs\Mozilla Thunderbird" "C:\Documents and Settings\All Users\Start Menu\Programs\Online Stuff"MOVE /Y "C:\Documents and Settings\All Users\Start Menu\Programs\WinRAR" "C:\Documents and Settings\All Users\Start Menu\Programs\Utilities"::RD /S /Q "C:\Documents and Settings\All Users\Start Menu\Programs\WinRAR"MOVE /Y "C:\install\shortcuts\Process Explorer.lnk" "C:\Documents and Settings\Administratot\Start Menu\Programs\Utilities"MOVE /Y "C:\install\shortcuts\TCP Viewer.lnk" "C:\Documents and Settings\Administratot\Start Menu\Programs\Utilities"MOVE /Y "C:\install\shortcuts\Notepad 2.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Accessories"RENAME "C:\Documents and Settings\All Users\Start Menu\Programs\OpenOffice.org 1.9.79" "OpenOffice.org 2.0"MOVE /Y "C:\install\shortcuts\Quick Launch" "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer"::Remove Folders and Files Installed During XP SetupRD /S /Q %systemdrive%\installRD /S /Q %systemdrive%\driversdel %0I've also attached my registry tweaks as I remember playing with them before the problem but I don't think it would have anything to with them (it wouldn't make sense to me). Any help would be greatly appreciated.RegistryTweaks.reg
DiGGiTY Posted April 12, 2005 Posted April 12, 2005 The move command is somewhat limited When you try to MOVE an entire folder into a directory that already has that folder in it, you'll get access denied. MOVE will work if you specify that all you wish to move are the files. For example:MOVE /Y "C:\install\shortcuts\Quick Launch\*.*" "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"
DiGGiTY Posted April 12, 2005 Posted April 12, 2005 I forgot to mention that you've got Administrator spelling incorrectly in your batch file several times as Administratot
Screwz Luse Posted April 12, 2005 Author Posted April 12, 2005 heh.. I'm always making little spelling mistakes. Thanks for informing me. Anyway, I'll deffinately have to give that a try. I do wish that there was a way to solve the Quick Launch folder being a file for whatever reason. I've been trying to find out why it changed from a folder to a file but can't figure out how. Is there a way to convert a file back into a folder via batch file?
DiGGiTY Posted April 12, 2005 Posted April 12, 2005 There's no way to convert a file back to a folder after this happens. Don't be too frustrated, it has happened to all of us. Essentially the stream is copied as a file.... I had it happen to me a lot in the DOS days.To troubleshoot your batch file REM out the @echo off line and insert several PAUSE commands. This way you can see the output to make sure everything is cool.
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