
nakira
MemberContent Type
Profiles
Forums
Events
Everything posted by nakira
-
Usually %WinDir%\SoftwareDistribution if i remember rightly. It may be easier to download them from http://v4.windowsupdate.microsoft.com/catalog/en/default.asp and install them.
-
Change Path=C:\Program Files\CursorXP to Path=CursorXP No matter where %ProgramFiles% is located then.
-
Have you tried using /silentmode switch?
-
No Users when using OOBEINFO.ini to add
nakira replied to Pantner's topic in Unattended Windows 2000/XP/2003
It's supposed to be in $OEM$\$$\System32\oobe\OOBEINFO.INI -
Microsoft Baseline Security Analyzer will tell you what you have installed and what you haven't.
-
You don't really need to run the installer, make a rar sfx file from everything inside your program files\locate directory, add this comment. ;The comment below contains SFX script commands Path=Locate SavePath Silent=1 Overwrite=1 Shortcut=T, "%programFiles%\Locate\Locate32.exe /S", "", "Locate32 Autorun", "Locate32" Shortcut=P, "%ProgramFiles%\Locate\Locate32.exe", "Locate", "Locate32", "Locate32" Shortcut=P, "%ProgramFiles%\Locate\Updtdb32.exe", "Locate", "Updtdb32", "Updtdb32"
-
Maybe this way @echo off cd /d f:\Uncompressing for /d %%i in (*) do ( pushd %%i for /f "delims=/" %%a in ('dir /s/b *.txt;*.htm;*.doc') do move "%%a" "%%~nxa" popd )
-
using 7za.exe biggest compession
nakira replied to maniaq's topic in Unattended Windows 2000/XP/2003
system32 is defined in the %path% variable type "path" in a command prompt and you will see... PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys...(plus more).. If a program (or cmd file) isn't in the current directory when you try to execute it, Windows will search all the directories defined in %path% for that program. System32 happens to be the very first entry so Windows finds the cmdfile you placed there and executes it. -
using 7za.exe biggest compession
nakira replied to maniaq's topic in Unattended Windows 2000/XP/2003
Yes. This was ,eamt to appear to be a command prompt "D:\somefolder>7zcompress.cmd{enter}" -
using 7za.exe biggest compession
nakira replied to maniaq's topic in Unattended Windows 2000/XP/2003
Well, suppose you named it "7zcompress.cmd" and placed it into \system32, you would simply type "7zcompress.cmd" from the folder you want to compress. D:\somefolder>7zcompress.cmd{enter} -
using 7za.exe biggest compession
nakira replied to maniaq's topic in Unattended Windows 2000/XP/2003
Put that batchfile in a directory somewhere in the path (like \system32) and just call it from the folder you want compressed. -
Create oeminfo.ini containing date of installation
nakira replied to creopard's topic in Unattended Windows 2000/XP/2003
Try this for /f %%j in ('dir /B %CDROM%\I386\SVCPACK\KB*.exe') do call :myprint %%~nj for /f %%j in ('dir /B %CDROM%\WINDOWSUPDATE\KB*.exe') do call :myprint %%~nj goto :eof :myprint (echo line%i%=%1 >> "%oeminfo%" && set /a i+=1) :eof -
Where do the windows updates go
nakira replied to codeblue's topic in Unattended Windows 2000/XP/2003
The original is 'Windows Catalog.lnk' The icon is from %SystemRoot%\system32\moricons.dll Start in: %Homedrive%%Homepath% Comment: Find products made for Windows. -
Where do the windows updates go
nakira replied to codeblue's topic in Unattended Windows 2000/XP/2003
Make a normal shortcut to IExplore.exe. Then add the url after the program name and you can add a comment and change icon. -
non working and sliding cmd window
nakira replied to darksimoon's topic in Unattended Windows 2000/XP/2003
Don't call it "label.cmd", use a different name or it will keep calling itself. -
Add Files in system32 during install..
nakira replied to Klowinn's topic in Unattended Windows 2000/XP/2003
Put it into <XPCD>:\$OEM$\$$\System32\your.dll See here in the guide -
Is this reg string unique to each install?
nakira replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
No go, that ends up like this "C:\Documents and Settings\Nakira\Desktop\Settings\Nakira" (run from desktop) or "C:\Settings\Nakira" (run from C:\) -
Is this reg string unique to each install?
nakira replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Fine this way @echo off&setlocal enableextensions enabledelayedexpansion for /f "tokens=*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s^|findstr "S-1-5-"') do ( for /f "tokens=1,3 delims= " %%b in ('reg query "%%~a" /v "ProfileImagePath"') do ( if errorlevel 0 ( set userkey1="%%~c"&set userkey2="%%SystemDrive%%\%userprofile:*\=%" if !userkey1! equ !userkey2! set UserSID=%%a&goto next ) ) ) :next if not defined UserSID echo/ SID not found&&endlocal&goto :eof set UserKey=HKU\%UserSID:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\=% echo/ Your Users Registry Key %UserKey%&&echo/ is set as %%UserKey%% pause&endlocal&goto :eof -
Yeah Or more precisely "/convert="%UserProfile%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp""
-
Is this reg string unique to each install?
nakira replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
NM However, that script produces "SID not found" fo rme too, and that's the only reason I can thik of... -
Is this reg string unique to each install?
nakira replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
I may be wrong here but in this line... if errorlevel 0 if "%%~c" equ "%UserProfile%" set UserSID=%%a The two STRINGS are not equal (for me) "%%~c" expands to "%SystemDrive%\Documents and Settings\Nakira" "%UserProfile%" expands to "C:\Documents and Settings\Nakira" -
You might try asking in the Zonelabs forum
-
Here's a batch script that will change wallpaper. reg add "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "F:\Wallpaper\mickey_mouse.bmp" /f rundll32.exe User32.dll,UpdatePerUserSystemParameters The limitaion is this will only accept .bmp files, although you could use Irfanview to convert on the fly. "C:\Program Files\IrfanView\i_view32.exe" "F:\Wallpaper\Felix.jpg" /convert="F:\Wallpaper\Felix.bmp" reg add "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "F:\Wallpaper\Felix.bmp" /f rundll32.exe User32.dll,UpdatePerUserSystemParameters To save having many files converted to bmp, re-use the same name (no need to alter the registry this time) "C:\Program Files\IrfanView\i_view32.exe" "F:\Wallpaper\Betty.png" /convert="F:\Wallpaper\Current.bmp" rundll32.exe User32.dll,UpdatePerUserSystemParameters Remeber to change all the paths to suit
-
Ah, I thought you meant RAR for Dos when you mentioned "the command line utility". The 'guide' I use is WinRAR.hlp. WinRAR Help > Contents >> Command line mode >> Commands >> "C" Add an archive comment b) Comments may be added from a file by using the -z<file> switch. WinRAR c -zinfo.txt dummy You can also use rar /? from commandline.
-
The rar commandline tool is named rar32.exe, so I'm assuming you have renamed it. rar c -zcomment.txt folder\existingarchive.exe