Jump to content

sleepnmojo

Member
  • Posts

    481
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by sleepnmojo

  1. Put a CMD.EXE /C infront of each copy command. Copy is a part of the cmd program, not a program, which is why you need it.
  2. Maybe its because they are all X's Seriously though, it looks fine from here. I use ProductKey also. I suggest you erase the line, and rewrite it, usually fixes the problem. Or try using the deployment package to look at your sif file.
  3. I would say the double backslash is "proper" syntax. The backslash is used as an escape character. Thus when you see one, the parser should expect the next character to be special. Since this technically isn't programming, and you don't have special meaning for some escape sequences, they probably figured that if it isn't a special character, then ignore it. Its like that all over the operating system. Command line, address bar, reg files, .... If they were a little more strict about things, rather than lazy, then they wouldn't have so many problems with scripting and such.
  4. You can sometimes run into the same problem where you have "All User.COMPNAME" as the All users folder. When you use the $DOCS folder, it will copy into an All Users folder, which may not be used. I do something similar to what Nick2588 said. Except I extract to the %ALLUSERSPROFILE%, rather than a predetermined user. This condition is rare, an usually only happens when you don't erase the documents and settings folder before installing xp, from a clean install. SiMoNsAyS is right on about why you should go to the all users profile.
  5. Everyone knows that it was brown. bring on the hard ones.
  6. %PROGRAMFILES% works too. target: %PROGRAMFILES%\Mozilla\Firefox\firefox.exe Start in: %PROGRAMFILES%\Mozilla\Firefox
  7. Do the commands run and the output is just not placed in the log file? Have you also tried redirecting the stderr output as well? I believe it is >&.
  8. Have you tried FIXMBR from the recovery console? I believe that is the command. I believe that is the command, type HELP. I know there is one to replace the MBR. This is all assuming that it is only your MBR that is gone, and not files. Then you would need recovery software.
  9. Where are you creating the user? You need to create the user before you can use it. Post the code you use to create the user.
  10. Let me get people back on topic here. Dotnetfx.exe should extract to your hard drive the msi files and run install them there. I understand this. I have tried running wrapper package from the cd, and no luck. It gives an error. The only way I can get this to work is to copy it to the hd, and run it there. What I was asking is if there is a way to run it from the hd, either in the wrapper, or out. Maybe because AMDTWraith is on win2k, it works. I'm trying on XP Pro SP1a with no updates. Anymore updates would be helpful.
  11. I'm not sure if they are to different from xp, but the way I do it is %SYSTEMROOT%\system32\shmgrate.exe OCInstallHideOE %SYSTEMROOT%\INF\unregmp2.exe /HideWMP /SetShowState
  12. I am trying to install the dotnet framework from the cd, but nothing I do will let me install it. I have unpacked it and put the contents in %CDROM%\DOTNETFX\ Running this command, or clicking on explorer gives an error asking for me to insert the .net framework v1.1 cd MSIEXEC.EXE /i %CDROM%\DOTNETFX\netfx.msi /qb I have also tried using the unpacked version with different command lines, and that doesn't work either. My only question is, is there any way to get this working from the cd, other than having to copy it to the hard drive?
  13. You can run the subst command as a temporary fix till you change it. Not sure about having it see it the way you want, but there probably is a way.
  14. What you want to do is look for the autologon.reg file thats floating around. Import that with the name change, and password if you change that too. Everything else should stay the same.
  15. Is it a virus, or spyware? If it is a virus, what was it called? The only thing that looks fishy to me is Maybe someone can confirm this. Try disabling all your startup items in msconfig. Then enable the ones you trust. If you start to notice problems then what you enabled is most likely the cause of your problem. Also update your virus defs for norton. Scan the file.
  16. His method works on either the hd, or cdrom, where the %CD% only works on the cdrom. If it is only effective on the cdrom, then you might as well use %~d0 in your script. %cd% means current directory! It will give the path to where ever you call it from. It is universal. Please try things before saying it won't work as people browse this forum and take information as fact. So let me get this straight, %CD% gives you the current directory from where you call it. Which means something will have to call this script from the cdrom (cmdlines). zippy's method can be called from the cdrom (cmdlines), or hd (runonce). Sure you can put the cmd anywhere you want, but if you are calling it from cmdlines, what is the point of having the cmd on the hd? If you are going to be calling it from the cdrom, then leave the cmd file on the cdrom, and you can use %~d0. If you want the path, %~dp0. Also I didn't say it wouldn't work. Just trying to understand your logic.
  17. The only way I can think of doing what you want is if you had a key to the run section of either HKLM, or HKCU. Have that run a REGEDIT. That will require another restart though. Other than that, there is no other way.
  18. I stand corrected, but your command is still incorrect. You are missing a )
  19. Is the user you are using the same user you installed them with? Why not make your own icons. Search the forums for a SHORTCUT.EXE.
  20. That won't work. The ELSE needs to be on the same line as the IF statement.
  21. Alternately, IF NOT A EQU B ( IF NOT B EQU C ( commands ))
  22. His method works on either the hd, or cdrom, where the %CD% only works on the cdrom. If it is only effective on the cdrom, then you might as well use %~d0 in your script.
×
×
  • Create New...