
nakira
MemberContent Type
Profiles
Forums
Events
Everything posted by nakira
-
Try this for /d %%a in (*) do if exist %%a\Doit.exe start /wait %%a\doit.exe
-
http://rapidshare.de/
-
Installing Fonts (Need Help)
nakira replied to Computerpro2's topic in Unattended Windows 2000/XP/2003
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. -
Installing Fonts (Need Help)
nakira replied to Computerpro2's topic in Unattended Windows 2000/XP/2003
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 -
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
-
[Error] - wininet.dll missing windows not starting up
nakira replied to SShabaj's topic in Windows XP
There is a copy of wininet.dll at www.dll-files.com. -
[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.
-
[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]
-
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"
-
There is no shell32.dll file in I386 Folder!
nakira replied to amit_talkin's topic in Unattended Windows 2000/XP/2003
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 -
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
-
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"
-
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
-
Batch file that auto updates anti-spyware programs?
nakira replied to cumminbk's topic in Windows XP
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 -
You might try Info-Zip
-
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
-
How to give each hard-drive & cd drives their separate icons?
nakira replied to amit_talkin's topic in Windows XP
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" -
replacing/tweaking windows' copy/paste routine?
nakira replied to rock_ya_baby's topic in Windows XP
http://ranvik.net/totalcopy/ -
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
-
http://filext.com/detaillist.php?extdetail=JNT says Windows Journall Viewer.
-
7zip archive installers with reg file for the app
nakira replied to matthewk's topic in Application Installs
Try xcopy (xcopy /? in cmd window for syntax) -
Those values are in HKCU\Control Panel\Colors
-
Need a little help with Steam (keep it from loading at startup)
nakira replied to LazyBoy's topic in Application Installs
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 -
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
-
http://v4.windowsupdate.microsoft.com/catalog/en/default.asp