Frechdax3000 Posted December 15, 2005 Share Posted December 15, 2005 moin moinsorry for my bad engl.i have trouble with a *cmd filehere the content 1) cmdow @ /HIDnet user "Hilfeassistent" /deleteNET USER "ASPNET" /active:no2)DEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"3)DEL "%ALLUSERSPROFILE%\Startm~1\Windows Update.lnk"DEL "%ALLUSERSPROFILE%\Startm~1\Programmzugriff und -standards.lnk"DEL "%ALLUSERSPROFILE%\Startm~1\Windows-Katalog.lnk"DEL "%ALLUSERSPROFILE%\Startm~1\Windows-Katalog.lnk"DEL "%ALLUSERSPROFILE%\desktop\NEROST~1.LNK" /F /QDEL "%USERPROFILE%\Startm~1\progra~1\outloo~1.lnk" /F /Qrem internetexplorer link loeschenDEL "%USERPROFILE%\Startm~1\progra~1\*.lnk" /F /QREM DEL "%USERPROFILE%\Startm~1\progra~1\intern~1.lnk" /F /QDEL "%allUSERsPROFILE%\Startm~1\progra~1\*.LNK" /F /Qrem alle verknuepfungen loeschenDEL "%allUSERsPROFILE%\Startm~1\progra~1\zubehr~1\*.LNK" /F /QDEL "%USERPROFILE%\Startm~1\progra~1\zubehr~1\*.LNK" /F /Qrem xcopy /y /s /e /c /i "%allUSERsPROFILE%\Startm~1\progra~1\nero\Nero 6 Enterprise Edition\NEROBU~1.lnk" "%allUSERsPROFILE%\Startm~1\Nero 6 Enterprise Edition\"rem nero 6 nach startmenue kopieren: xcopy /y /s /e /c /i "%allUSERsPROFILE%\Startm~1\progra~1\nero\Nero 6 Enterprise Edition\NEROBU~1.lnk" "%allUSERsPROFILE%\Startm~1"rem nero verknuepfungen loeschen: rd /s /q "%allUSERsPROFILE%\Startm~1\progra~1\nero"rem kerio nach allusers kopierenxcopy /y /s /e /c /i "%USERPROFILE%\Startm~1\progra~1\kerio\PERSON~1\*.lnk" "%allUSERsPROFILE%\Startm~1\Kerio"rem: verknuepfungen loeschenDEL "%allUSERsPROFILE%\Startm~1\kerio\HELP(C~1.LNK" /F /QDEL "%allUSERsPROFILE%\Startm~1\kerio\HELP(E~1.LNK" /F /QDEL "%allUSERsPROFILE%\Startm~1\kerio\HELP(G~1.LNK" /F /Qrem verz kerio bei defaultuser loeschenrd /s /q "%USERPROFILE%\Startm~1\progra~1\kerio"1) works2) works toobut the part 3 wont work correct only if i run the *.cmd again i see no errors in the code speziell the green market code segments wont work but the purple works Link to comment Share on other sites More sharing options...
jondercik Posted December 15, 2005 Share Posted December 15, 2005 I dont think you need the /Q. Another question I have is why dont you use long file names instead of the short version? Link to comment Share on other sites More sharing options...
Frechdax3000 Posted December 15, 2005 Author Share Posted December 15, 2005 the longname by xcopy /y /s /e /c /i "%allUSERsPROFILE%\Startm~1\progra~1\nero\Nero 6 Enterprise Edition\NEROBU~1.lnk" "%allUSERsPROFILE%\Startm~1"=> xcopy ask me if this a folder or file i dont know to disable this dump questionits a link, but i think xcopy becomse trouble the /Q switsch is allready build ini have written: the only thing was wont work are the greenlinesonly if a run the *cmd again ( *.cmd only a placeholder here ) Link to comment Share on other sites More sharing options...
Frechdax3000 Posted December 17, 2005 Author Share Posted December 17, 2005 i have solved this probi let over the runnonce. cmd copy a batch file to the desktop and run this after winxp is installedthen no erros appear 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