Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=110100016

Automation of Gavotte RamDisk (WinXP 32)

Automation of Gavotte Ramdisk

By default, Gavotte Ramdisk can setup automatically. Because of the limitation of image size, maximum packed image size is 64K only, sometimes it is nesscessary to customize the setup. The automation of the Gavotte Ramdisk customization can be done as following:

  1. Use Startup/Shutdown of Windows Settings in Computer Configuration to set policies that are applied to computer.

    1. Create a startup batch file, e.g. ramdiskstart.bat, to setup the Gavotte Ramdisk and store in a directory, e.g. c:\. For example:

      md R:\Temporary
      if not exist d:\ramdiskbackup\Temporary goto N1
      xcopy d:\ramdiskbackup\Temporary\*.* R:\Temporary /E /V /C /Q /G /R /K /Y
      :N1
      EXIT
    2. Create a shutdown batch file, e.g. ramdiskend.bat, to backup the Gavotte Ramdisk and store in a directory, e.g. c:\. For example:

      cd /d d:\
      if exist d:\ramdiskbackup goto N1
      md d:\ramdiskbackup
      :N1
      if exist d:\ramdiskbackup\Temporary goto N2
      md d:\ramdiskbackup\Temporary
      :N2
      xcopy R:\Temporary\*.* d:\ramdiskbackup\Temporary /D /E /V /C /Q /G /R /K /Y 
    3. Click 'Start' on the taskbar and then click 'run' to open the 'Run' window. Then type 'gpedit.msc' and click 'OK' button to open 'Group Policy' window

      image image

    4. Click '+' to expand  'Windows Settings'

      image image

    5.  Click 'Scripts (Startup/Shutdown)' to display the startup and Shutdown items in the left pane. Then double-click 'startup' to open the 'Startup Properties' window

      image image

    6. Click the 'Add' button to open the 'Add a Script' Window.

      image image

    7. Add 'c:\ramdiskstart.bat' to 'Script Name' and left Script Parameters blank. Then click 'OK' to continue.

      image image

    8. Check the scipt is added and click 'OK' to exit.

      image 

    9. Similarly, double-click 'shutdown' to open the 'Shutdown Properties' window. Click 'Add' button to open the 'Add a Script' Window. Then add 'c:\ramdiskend.bat' to 'Script Name' and left Script Parameters blank. Then click 'OK' to continue.

      image image

    10. Check the scipt is added and click 'OK' to exit.

      image 

    11. Click 'File' in menu and then click 'Exit' to exit.

      image 

  2. Use Logon/Logoff of Windows Settings in User Configuration to set policies that are applied to users.

    1. Simular to 1 but select the 'Scripts (Logon/Logoff)' of 'Windows Settings' under 'User Configuration'.

      image 

Link:http://output.to/sideway/default.asp?qno=110100018

MagicPro USB3 Hub mp4ph

MagicPro USB3 Hub MP-4PH

(information from Magic-Pro)

image image

Product Specifications:

Model MP-4PH
Connectors 4 x USB 3.0 ports.
Backward compatible with USB 2.0/1.1 interface.
Speed 5Gbps
Power Supply USB power supply and DC power supply

The link of Magic-Pro is
http://www.magic-pro.com.

The link of Magic-Pro MP-4PH is
http://www.magic-pro.com/product/other/MP-4PH.htm

Link:http://output.to/sideway/default.asp?qno=110100015

Applications of Gavotte RamDisk (WinXP 32)

Applications of Gavotte Ramdisk

Other Application Examples:

  1. Temporary Files Directory:

    Temporary files of programs are stored in the temporary files directory specified by the User Encironment Variables. Moving these temporary files from the harddisk to Gavotte Ramdisk can be done by modifing the User Encironment Variables as following:

    "System" setup window can be opened in Control Panel or through 'System Properties' by right click 'My Computer'.

    Select the 'Advanced' tab and click the 'Environment Variables' button to continue.

    image 

    Select the variable name in the 'User variables' group to modify and click the 'Edit' button to change. The two variables for temporary files directory are 'TEMP' and 'TMP'.

    image image

    Replace the value "%USERPROFILE%\Local Settings\Temp" of both variables 'TEMP' and 'TMP' by any folder in the Ramdisk, e.g. "R:/Temp"

     

    image image

    After changing, check the modified value and click 'OK' ... 'OK' to exit.

    image
  2. Temporary Internet Files Directory - FireFox:

    After a webpage is loaded in the browser, the webpage is cached is a disk cache so that the webpage can be redisplayed without downloading again. Firefox 1.5 and above stores temporary internet files in the "profile temp directory". The Cache can be viewed in page 'about:cahe'. The Cache location can also be moved to the Ramdisk as following:

    Type 'about:config' in the 'Location Bar/Address Bar' of the Firefox browser. Press enter to display the list of application settings or preferences. A 'Warning Message - This might void your warranty!' page will be displayed first. Click the 'I'll be careful, I promise!' button to continue.

    image 

    A list of preferences will then be displayed in the webpage. To change the Cache location, a new preference 'browser.cache.disk.parent_directory' should be added to specify the new cache location. This can be done by right-click anywhere in the list of preferences. Select 'New' to add the new preference and then select the type of preference 'String' to continue.

    image image

    Enter 'browser.cache.disk.parent_directory' to the pop up 'Enter string value' window for the 'Enter the preference name' and click 'OK' button to continue. ... 'OK' to exit the paging file setting. A 'Do you want to restart your computer now?' message box will pop up.Click 'OK' to restart the computer. Or click 'No' to continue working and restart the computer later.

    image image

    Enter the folder directory e.g. "R:\Internet\firefox" created in the ramdisk for the cache to the pop up 'Enter string value' window for the 'browser.cache.disk.parent_directory'' and click 'OK' button to continue.

    image image

    Check that the preference is added.

    image
  3. Temporary Internet Files Directory - Internet Explorer:

    Similarly, internet explorer also stores a copy of webpage in the disk cache for redisplaying later without downloading again. The Cache location can also be moved to the Ramdisk as following:

    Click 'Tools' in Menu Bar and then click 'Internet Options' to open the 'Internet Options' window.

    image

    Click the 'Setting' button in the 'Browsing histroy' group to open the 'Temporary Internet Files and History Settings' window.  Then click the 'Move folder' button to open the 'browse for folder' window.

    image image

    Browse to the folder e.g. "R:\Internet\ie" created in the ramdisk for the cache and click 'OK' to continue.  Check the Current location is replaced by New location with the selected parent directory and then click 'OK' to continue.

    image image

    A 'Log Off' message box will pop up. Save all work in progress or any unsaved changes will be lost. Then click 'Yes' to confirm the change and  log off window for the change to take effect.

    image 

    After login again and open the internet explorer to check the temporary internet files location. The 'New location' is changed to 'Current location' with the selected parent directory and then click 'Cancel' ... 'Cancel' to exit.

    image 

Previous Month  JAN  2011  Next Month
SMTWTFS
1
2345678
9101112131415
16171819202122
23242526272829
3031

Previous Month  OCT  2016  Next Month
SMTWTFS
1
2345678
9101112131415
16171819202122
23242526272829
3031

Sideway BICK Blog

25/01


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013