Jump to content

nakira

Member
  • Posts

    118
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Japan

Everything posted by nakira

  1. Try this for /d %%a in (*) do if exist %%a\Doit.exe start /wait %%a\doit.exe
  2. Of course you can use a regfile to import them, that was mainly to show the entry path. Either way beats opening/closing fonts folder.
  3. Or add the reg key Font name: Kabel Book BT Font type: TrueType Filename: Kabeln.ttf reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Kabel Book BT ^(TrueType^)" /d Kabeln.ttf The ^ is an escape character for the parentheses from the cmd prompt
  4. Runs the command on each specified day(s) of the week or month /every:monday means every monday .. For everyday: /every:monday,tuesday,wednesday,thursday,friday,saturday,sunday
  5. There is a copy of wininet.dll at www.dll-files.com.
  6. [quote]this is too advance. any step by step guide on how to sue this program ?[/quote] Uh, that IS a step by step guide.
  7. [quote name='chercm' post='432069' date='Dec 10 2005, 10:13 AM']after running the importing command , how to merge the programs into the winxp cd ?[/quote]Check the [url="http://unattended.msfn.org/"]Guide[/url]
  8. Using the /integrate switch at the end causes it to be added as a parameter to the command. Try this... (change time accordingly). If you use it in a cmd window you'll see "Added a new job with job ID = X" at 11:15 /interactive /every: "C:\Documents and Settings\Daniel Towns\My Documents\Text files\landlord.txt" Or this variant, to have it run on the 1st day of the month at 11:15 /interactive /every:1 "C:\Documents and Settings\Daniel Towns\My Documents\Text files\landlord.txt"
  9. No, you should use modifype.exe on it, then recab it with makecab.exe and replace it into i386 See here: http://unattended.msfn.org/global/compress.htm
  10. A couple of things here 1. for /f "tokens=3 skip=2" %%i in ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v SourcePath') do set cddrive=%%~di SET PP=%cdrom%\$1\Apps\ ^^ Also, if the apps are in '$oem$\$1\Apps' then they will be copied to HDD and can/should be run from there. For that you can more simple use... set PP=%systemdrive%\Apps\(no need to use the /for line) 2. Some unescaped quotes in this line -- this is where your too many parameters error is REG ADD %KEY%\000 /V 1 /D "%PP%AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""" /f
  11. The Apps folder as you described above is not inside $oem$\$1 so it won't be copied. Not that it matters with the runonceex.cmd you posted anyway as that sets the progs to be run from <CD>:\Apps\... There is nothing in the cmd you posted to cause 'too many parameters' errors. edit: In fact here is the results for /f "tokens=3 skip=2" %%i in ( 'REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v SourcePath' ) do set cdrom=%%~di SET PP=%cdrom%\Apps\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Programs" /f REG ADD %KEY%\000 /VE /D "Paint Dot Net" /f REG ADD %KEY%\000 /V 1 /D "%PP%PaintNET.exe" /f REG ADD %KEY%\001 /VE /D "Daemon Tools" /f REG ADD %KEY%\001 /V 1 /D "%PP%daemontool.exe" /f REG ADD %KEY%\002 /VE /D "Directx 8.1 for Windows NT" /f REG ADD %KEY%\002 /V 1 /D "%PP%DX81NTeng.exe /Q" /f REG ADD %KEY%\003 /VE /D "Real Alternative" /f REG ADD %KEY%\003 /V 1 /D "%PP%RealAlternative.exe /VERYSILENT /SP-" /f REG ADD %KEY%\004 /VE /D "QuickTime Alternative" /f REG ADD %KEY%\004 /V 1 /D "%PP%QuickTimeAlternative.exe /VERYSILENT /SP-" /f REG ADD %KEY%\005 /VE /D "Quickpar Data Repair" /f REG ADD %KEY%\005 /V 1 /D "%PP%QuickPar.exe" /f REG ADD %KEY%\006 /VE /D "Microsoft Reader" /f REG ADD %KEY%\006 /V 1 /D "%PP%MSReader.exe" /f REG ADD %KEY%\007 /VE /D "Java Virtual Machine" /f REG ADD %KEY%\007 /V 1 /D "%PP%jre505.exe" /f REG ADD %KEY%\008 /VE /D "Mozilla Firefox" /f REG ADD %KEY%\008 /V 1 /D "%PP%firefoxsilent.exe" /f REG ADD %KEY%\009 /VE /D "Microsoft Dot Net 2.0" /f REG ADD %KEY%\009 /V 1 /D "%PP%dotnet2.exe" /f REG ADD %KEY%\010 /VE /D "Acrobat Reader 6.0" /f REG ADD %KEY%\010 /V 1 /D "%PP%acroread604.exe" /f pause Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx] "TITLE"="Installing Programs" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\000] @="Paint Dot Net" "1"="L:\\Apps\\PaintNET.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001] @="Daemon Tools" "1"="L:\\Apps\\daemontool.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\002] @="Directx 8.1 for Windows NT" "1"="L:\\Apps\\DX81NTeng.exe /Q" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\003] @="Real Alternative" "1"="L:\\Apps\\RealAlternative.exe /VERYSILENT /SP-" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\004] @="QuickTime Alternative" "1"="L:\\Apps\\QuickTimeAlternative.exe /VERYSILENT /SP-" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\005] @="Quickpar Data Repair" "1"="L:\\Apps\\QuickPar.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\006] @="Microsoft Reader" "1"="L:\\Apps\\MSReader.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\007] @="Java Virtual Machine" "1"="L:\\Apps\\jre505.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\008] @="Mozilla Firefox" "1"="L:\\Apps\\firefoxsilent.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\009] @="Microsoft Dot Net 2.0" "1"="L:\\Apps\\dotnet2.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\010] @="Acrobat Reader 6.0" "1"="L:\\Apps\\acroread604.exe"
  12. The info is already in the registry, you just need tograb it :-) for /f "tokens=3 skip=2" %%i in ( 'REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v SourcePath' ) do set cddrive=%%~di
  13. Two are really easy, the other isn't as Spyware Blaster's Autoupdate is a subscription service, for that you could use AutoIT. Spybot: spybotsd.exe /autoupdate /autocheck /autofix /autoclose /autoimmunize Ad-Aware: Ad-Aware.exe /smart +mru +update +auto
  14. Here's a .cmd which resets the values @echo off for /f "skip=2 tokens=1,2" %%a in ('powercfg /q') do if %%a equ Name set sch=%%b powercfg /x %sch% /monitor-timeout-ac 30 powercfg /x %sch% /disk-timeout-ac 0 powercfg /x %sch% /standby-timeout-ac 0
  15. Create keys under [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons] as in this example Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon] @="%Windir%\\Web\\MyImages\\C.ico" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon] @="%Windir%\\Web\\MyImages\\D.ico" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\E] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\E\DefaultIcon] @="%Windir%\\Web\\MyImages\\E.ico" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\F] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\F\DefaultIcon] @="%Windir%\\Web\\MyImages\\F.ico"
  16. nakira

    1606 error

    You are typing the command into a cmd.exe window and not the run dialog, right? Start > Run > (type) cmd.exe You type the line in the window called "Command Prompt" It doesn't really matter anyway, echo doesn't actually check if the directory does exist, it simply outputs what you type in after expanding any environment variables. Better to use something that depends on the directory existng fo rits output, like dir "%userprofile%\recent" or if exist "%userprofile%\recent" echo Yes
  17. http://filext.com/detaillist.php?extdetail=JNT says Windows Journall Viewer.
  18. Those values are in HKCU\Control Panel\Colors
  19. Use reg.exe. for more info, type "reg /?" and "reg delete /?" in a cmd window. Two examples reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v "Free Download Manager" reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunServer
  20. You need to add quotes around the first two key names as they have a space in them Reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TEMP /t REG_EXPAND_SZ /d "%%SystemRoot%%\Temp" /f>Nul REG add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TMP /t REG_EXPAND_SZ /d "%%SystemRoot%%\Temp" /f>Nul
  21. http://v4.windowsupdate.microsoft.com/catalog/en/default.asp
×
×
  • Create New...