Cti Posted August 31, 2007 Share Posted August 31, 2007 (edited) I have been struggling with some simple commands and I do not know why they won't work. Cleanup.cmdDEL "%AllUsersProfile%\Desktop\DAEMON Tools.ink"I have also tried DEL /Q "%AllUsersProfile%\Desktop\DAEMON Tools.ink"I have a bunch more which should be very similar, I just need to know why these are not working for me The command is running from a user which is created using nlite. I am struggling with any delete command, can someone help me out ThanksEDIT: I have also read a whole bunch of other threads with these issues, but still none of the commands work, is there anything that needs to be before those commands, I mean at the beginning of cleanup.cmd Edited August 31, 2007 by Cti Link to comment Share on other sites More sharing options...
phkninja Posted August 31, 2007 Share Posted August 31, 2007 change toDEL /Q "%AllUsersProfile%\Desktop\DAEMON Tools.lnk".ink is not the proper extention Link to comment Share on other sites More sharing options...
Cti Posted August 31, 2007 Author Share Posted August 31, 2007 (edited) Great, that worked Now what is the command to delete windows Explorer DEL /Q "%AllUsersProfile%\Desktop\Windows Explorer.Ink" this it not working, I am not sure if it considered a shortcut Thanks for the helpEDIT: what would the command be for deleting this reg entry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\DAEMON Toolshere I saved the reg file Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe""DAEMON Tools"="\"C:\\Program Files\\DAEMON Tools\\daemon.exe\" -lang 1033" Edited August 31, 2007 by Cti Link to comment Share on other sites More sharing options...
IcemanND Posted August 31, 2007 Share Posted August 31, 2007 uhm, you have .Ink not .lnk, gotta switch your I key with your L key. Link to comment Share on other sites More sharing options...
phkninja Posted August 31, 2007 Share Posted August 31, 2007 I was just thinking the same thing.shortcuts have the extention .lnk or .Lnk as in link Link to comment Share on other sites More sharing options...
phkninja Posted August 31, 2007 Share Posted August 31, 2007 (edited) to remove thenWindows Registry Editor Version 5.00[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"DAEMON Tools"="\"C:\\Program Files\\DAEMON Tools\\daemon.exe\" -lang 1033"by adding the - it removes the key Edited August 31, 2007 by phkninja Link to comment Share on other sites More sharing options...
Cti Posted September 1, 2007 Author Share Posted September 1, 2007 Thanks Is it possible to remove Outlook from start menu, right at the top on the left hand side ? Link to comment Share on other sites More sharing options...
andrewbell1984 Posted September 1, 2007 Share Posted September 1, 2007 (edited) DEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"To delete registry keys I use a batch file with the following code.REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v daemon.exe /fInstead of having to use registry files. Edited September 1, 2007 by andrewbell1984 Link to comment Share on other sites More sharing options...
Cti Posted September 1, 2007 Author Share Posted September 1, 2007 Well I just added daemon tools to my registry tweaks, these are being applied anyways REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v daemon.exe /fnow I tried one similar to this and I could not get it to work, I think the mistake was at the end where it says daemon.exeDEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"I do have this, what I am trying to do, is removed it from the start menu upper left hand side, normally shows your default browser and email ?? Link to comment Share on other sites More sharing options...
Arie Posted September 2, 2007 Share Posted September 2, 2007 You can remove the link through the "Taskbar and Start Menu Properties", as you probably know. The easiest way to integrate this into your installation process is to leave the link where it is, run Regshot 1.8.1 (freeware, Google for it) and make a first snapshot. Remove the link through the "Taskbar and Start Menu Properties" and create a second snapshot. Compare the snapshots and you will see which registry key is responsible for displaying the link at the top of the left column of the Start Menu. Export this key from your registry and have the REG-file imported again during the installation via your SVCPACK-file. 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