IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Rating
 
Options
Options
Personal Statement
nikzzzz doesn't have a personal statement currently.
Personal Info
nikzzzz
Advanced Member
1 years old
Male
Location Unknown
Born Dec-25-2006
Interests
No Information
Other Information
Country:: Russia
Statistics
Joined: 10-October 06
Profile Views: 95*
Last Seen: 13th September 2008 - 08:07 AM
Local Time: Sep 19 2008, 03:43 AM
151 posts (0.21 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Send Message
Contact Private
* Profile views updated each hour

nikzzzz

.script developer

***


Topics
Posts
Files E2T
Comments
Friends
My Content
21 Aug 2008
Read Topic
RamDisk (ImDisk) - calculate size
The automatic choice of the size of a disk is not absolutely correct - the memory necessary for job of system is not considered.
For its small memory can not suffice, for big it is used irrationally (small RamDisk).
Bat-File Calculation of the size RamDisk.
CODE
@echo off
:: %1=MountPoint %2=FileSystem %3=MinSize %4=Reserv %5=Size %6=Unit %7=label %8=Pack
:: MinSize - The minimum size RamDisk
:: Reserv -  It is reserved under system
set FileSystem=%2
set Pack=%8
:: The rigid size
if "%6"=="M" (
  set "Size=%5"
  goto _1
)
:: Calculation of the size
for /f "usebackq skip=1 tokens=3 delims=: " %%i in (`RamStatus.exe`) do set size=%%i
set /a size=%size%/1024
set /a "size=(%size%-%4)*%5/100"
if %size% lss %3 set size=%3
:_1
::There is no sense to use NTFS for small disks
if %size% lss 16 set "FileSystem=fat"
:: Packing is incompatible with FAT  
if "%FileSystem%"=="fat" set "Pack= "
imdisk.exe -a -t vm -m %1 -s %size%M -p "/fs:%FileSystem% /q /y /v:%7 %Pack%"


[attachment=6160:ImDisk.7z]

Regards,
Nikzzzz.
13 Sep 2007
Allows to calculate value of expression and to appropriate its variable. Syntax of expressions coincides with Autoit.
Syntax:
Calculate.exe "expression" TempIniFile section key

Demo:
CODE
[main]
Title=CodeBox test
Description=Running custom commands

[process]
Run,%ScriptFile%,Calculate,"2*(8+1)-2"
echo,"2*(8+1) = %Result%"

Run,%ScriptFile%,Calculate,"int(DirGetSize('c:\windows')/1024/1024)"
echo,"Size c:\windows = %Result% Mb"

Run,%ScriptFile%,Calculate,"sin(3.14159/2)"
echo,"sin(3.14159/2) = %Result%"

Set,"%Test%","OldTestString"
Run,%ScriptFile%,Calculate,"StringReplace('%Test%'#$c'Old'#$c'New')"
echo,"NewTestString = %Result%"

[Calculate]
ShellExecute,Hide,"%Tools%\calculate.exe","#$q#1#$q #$q%ProjectTemp%\calc.ini#$q Calc Result"
IniRead,"%ProjectTemp%\calc.ini","Calc","Result",%Result%
FileDelete,"%ProjectTemp%\calc.ini"

[attachment=2958:Calculate.7z]
5 Aug 2007
Converter .reg to .script, .au3, .bat
Unicode support.
Convert ClipBoard.
Tray menu.
[attachment=2721:RegToScript.7z]
22 Jul 2007
Read Topic
[script] Driver Search
Driver Search
Defines the equipment and copies necessary drivers on a mask. Basically, it is written under network drivers, however it can be used and for other devices. At its installation in autostart there is necessity to add no driver at assemblage, they can be, for example, in the separate catalogue on CD or FlashDisk. Advantage of such way - is easy for adding necessary the driver simple copying in the catalogue with drivers, and so increase in speed of loading at the expense of quantity reduction inf files which to system should be looked through. In case of application Ram of a disk this utility allows to reduce considerably its size (drivers pack ~ 30-40 Mb). There is a possibility of manual instructions of a place of search, and so start from the command line. For search acceleration it is possible to create an index file (the utility idx.exe).
For utility job it is necessary to copy a set of drivers in catalogue Drivers which is in a root of CD or FlashDisk. For search acceleration it is necessary to copy idx.exe in the catalogue with drivers and will execute it.
Ways of search and an equipment mask are defined in DriverSrh.ini.
DriverSrh.exe/? - help.
Script FBWF or BootSDI is necessary for utility job .

[attachment=2548:DriverSrh.7z]
Driver pack.
Last Visitors


10 Sep 2008 - 5:25
ctbrrqmsix


2 Aug 2008 - 1:42
Guest


27 Jul 2008 - 8:09


11 May 2008 - 7:47


22 Mar 2008 - 16:39

Comments
Other users have left no comments for nikzzzz.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 19th September 2008 - 03:43 AM
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here