Jump to content

spooky655

Member
  • Posts

    11
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

About spooky655

spooky655's Achievements

0

Reputation

  1. Incase anyone wanted to see them, here are the batch files: del /s /f /q "C:\Documents and Settings\Administrator\Desktop\*" && del /s /f /q "C:\Documents and Settings\All Users\Desktop\*" move C:\AstonSettings\Aston.7z "C:\Documents and Settings\Administrator\Application Data\Aston\" && 7z x -y -o"C:\Documents and Settings\Administrator\Application Data\Aston\" "C:\Documents and Settings\Administrator\Application Data\Aston\Aston.7z" && del /f /q "C:\Documents and Settings\Administrator\Application Data\Aston\Aston.7z" && rd /s C:\AstonSettings\ /q
  2. I figured it out! The Problem was the "cd" command. For some reason it didn't work so I just used absolute paths and replaced the "rd" commands with "del".
  3. I used "attrib -s" on the directory that I'm trying to delete the files off of, but I still get the same results
  4. Thanks for replying! But how exactly do I use the command (where in the batch file)? I don't know too much about using the command prompt. btw, I made the same post in another section of the forums because I was sure if this was the right one.
  5. I'm having problems with a couple of batch files that I'm running with runonce in xp: cd "C:\Documents and Settings\Administrator\Desktop\" && rd /s . /q && cd "C:\Documents and Settings\All Users\Desktop\" && rd /s . /q && cd C:\Windows\system32\ && EmptyRecycleBin.exe /q When I run it off the cd, nothing happens. When I copy to a folder (ex. My Documents) it deletes the icons from Administrator/Desktop, but not from All Users/Desktop. The other problem I had was with this .bat file: cd C:\AstonSettings\ && move Aston.7z "C:\Documents and Settings\Administrator\Application Data\Aston\" && cd "C:\Documents and Settings\Administrator\Application Data\Aston\" && 7z x Aston.7z && del Aston.7z && rd /s C:\AstonSettings\ /q When I logon for the first time, I find that nothing has happened. When I copy the .bat file to the Desktop and run it, It works fine.
  6. I made a silent installer for version 3.0.642 using the "/SILENTMODE" switch (but I haven't tested it). Here it is: http://rapidshare.com/files/138783809/ESET....0.642.cab.html
  7. Actually I was wrong... I don't know what's wrong... Here's the .bat file: cd "C:\Documents and Settings\Administrator\Desktop\" && rd /s . /q && cd "C:\Documents and Settings\All Users\Desktop\" && rd /s . /q && cd C:\Windows\system32\ && EmptyRecycleBin.exe /q When I run it off the cd, nothing happens. When I copy to a folder (ex. My Documents) it deletes the icons from Administrator/Desktop, but not from All Users/Desktop. The other problem I had was with this .bat file: cd C:\AstonSettings\ && move Aston.7z "C:\Documents and Settings\Administrator\Application Data\Aston\" && cd "C:\Documents and Settings\Administrator\Application Data\Aston\" && 7z x Aston.7z && del Aston.7z && rd /s C:\AstonSettings\ /q When I logon for the first time, I find that nothing has happened. When I copy the .bat file to the Desktop and run it, It works fine.
  8. I just realized that it may not be the permissions, but could be due to the fact that the Desktop may not exist yet. If this is so, does anyone know how to automate clearing the Desktop icons?
  9. I've tried to automate a few processes such as deleting desktop icons by place .bat files on the cd and running then with the runonce option in the "unattended" section. I see the command prompt come up as it's loading the desktop for the first time, but the .bat files seem to have no affect. I try running them off the cd manually, but they still have no effect. When I copy them to the Desktop though, the work perfectly fine. I'm assuming the problem has to do with permissions and was wondering how to fix this. EDIT: To be more specific, this happened while trying to delete with the "rd" (remove directory) command.
×
×
  • Create New...