- Open up "command prompt" by typing "cmd" at run box
- At "command prompt", type; "subst [drive letter] [folder path address]". eg: "subst m: d:\userfolder"
- Hit enter and you can see [as an example a new drive: m:\ drive appear in "my computer"
- Simple and easy huh? This assigned drive will be deactivate when you reboot your comp.
- So, you can make an auto startup program for this assigned drive.
- Here come the trick; Simply open up notepad and type this codes : "subst [drive letter] [folder path address]". eg: "subst m: d:\userfolder" and save it as "urfilename".bat.
- This is a batch file that runs the command when you double-click it. "urfilename" refer to any name that you want to put. But make sure you keep the file with *.bat extension in order to make it able to be executed.
- Then, simply copy this file to the startup folder under "start>all programs>startup"
- This means you have just set up that batch file to runs every time the comp rebooted
Log In Several User In Yahoo! messenger 8
Registry Windows TipsWanna log in several user in one Yahoo! messenger? Here come the simple trick:
[HKEY_CURRENT_USER\Software\yahoo\pager\Test]
Customizing The System Tray Clock
Registry Windows TipsStep 1
Open up your registry editor [start > run > type "regedit"]
Step 2
Navigate to : HKEY_CURRENT_USER\Control Panel\International
Step 3
There is two strings named "s1159" and "s2359". By default, the "s1159" is for AM and "s2359" is for PM. Just right click to the value and edit the AM and PM text. Make sure the text is not too long because if it is too long, it will be a problem to view it.
Step 4
If both of the string is not in there, just create the two strings "s1159" and "s2359"
Now, you have a special clock of your own. Change applied may start to active after user logoff or restart the comp. Else, just refresh your desktop to activate it.. Happy modding :) =X and good luck
Fixing Double-Click Problems In Your Drive
commands Useful commands Windows TipsSeveral things you must know first :
1. When you double-click your drive, it can't be accessed and an alert pop-out : "cannot find file.js@file.exe@file.vbs@something similar".
2. What is the main problems?
Autorun.inf file cannot find the specific file to be executed [been deleted due to virus alert from antivirus software or accidentally deleted]
3. Autorun.inf usage :
- Not all "autorun.inf" is written to execute the VIRUS.
- "autorun.inf" may also automatically load a programs in the Interactive-CD media.
- It can load a portable software for USB drive such as "PortableApps"
- You can set your drive icon by write some codes in it [will be posted later]
- So, "autorun.inf" is NOT A VIRUS. It's a kinda file that run under System Explorer.
1st :
If you accidentally deleted the files [the programs compiled with "autorun.inf" accidentally deleted]
Solution :
Just unhide the "hidden folder" [tool > folder options > views > "tick" the "show hidden files & folder"]. Then you can delete the "autorun.inf" files [navigate into the drive using the "address bar"]. Your drive can be accessed by using double-click after the comp rebooted.
2nd :
If the files compiled with "autorun.inf" have been deleted automatically due to antivirus response to a suspected files, which means, the compiled files with "autorun.inf" is a virus suspected file. So, the virus can't be executed when you double-click the drive. Antivirus won't delete the "autorun.inf" because it is NOT A VIRUS.
Solution :
Open up Command Prompt [start > run > type "CMD"]
- The command prompt will now open. Type "attrib -s -h -r -a x:\autorun.inf"
- Then type "del x:\autorun.inf"
Explanation :
"attrib" : attribute
"s" : system file attribute
"h" : hidden file attribute
"r" : read-only file attribute
"a" : archive file attribute
"x" : this should be change with your drive letter such as C or D or any drive you want to fix
"del" : delete file
"-" : this -ve sign stand for remove, so that it will remove the attribute within the files
So. After you runs the command above, you have successfully remove the "autorun.inf" file in your drive. Just make sure you change the "x" value with your drive letter. Reboot the computer and it's done. Below is a sample advance batch file to remove "autorun.inf" that i've made specially for all my blog reader using these commands above.
Downlaod a sample batch file click here
Change/Add Restrictions And Features [a further info about registry tweak & hack]
Registry Windows TipsIf you want to make restrictions to what users can do, you can edit the Registry. You can add and delete Windows features in this key shown below.
Certain things you must know about registry editor:
- It's very sensitive. Make sure you change anything inside it if you didn't know about it
- Boolean is where elements or "bits" each contain only two possible values, called various names [eg : yes@no, true@false , 1@2]
- The Boolean number "0" is for ON
- The Boolean number "1" is for OFF
- [eg : To make a printer undeleteable set "NoDeletePrinter" boolean to 1. That The value "NoDeletePrinter" will be activated]
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Under "Explorer" subkey, this "DWORD" value can be created :
- NoDeletePrinter : Disables Deletion of Printers
- NoAddPrinter : Disables Addition of Printers
- NoRun : Disables Run Command
- NoSetFolders : Removes Folders from Settings on Start Menu
- NoSetTaskbar : Removes Taskbar from Settings on Start Menu
- NoFind : Removes the Find Command
- NoDrives : Hides Drives in My Computers
- NoNetHood : Hides the Network Neighborhood
- NoDesktop : Hides all icons on the Desktop
- NoLogoff : Hides the Log Off in the Start Menu
- NoRecentDocsMenu : Hides the Documents shortcut at the Start button
- DisableRegistryTools : Disable Registry Editing Tools
- NoChangeStartMenu : Disables changes to the Start Menu
- NoFileMenu : Hides the Files Menu in Explorer
- NoActiveDesktop : No Active Desktop
- NoFolderOptions : Hides the Folder Options in the Explorer
- ClearRecentDocsOnExit : Empty the recent Docs folder on reboot
- NoActiveDesktopChanges : No changes allowed
- NoInternetIcon : No Internet Explorer Icon on the Desktop
- NoFavoritesMenu : Hides the Favorites menu
- NoClose : Disables Shutdown
- NoRecentDocsHistory: Clears history of Documents
- NoSaveSettings : Don't save settings on exit
- NoControlPanel :Hide the control panel visibility
- NoCDBurning : Disable Cd burning
- NoDispCPL : Disable Display Control Panel
- NoPwdPage : Hide Password Change Page
- NoDispScrSavPage : Hide Screen Saver Page
- NoDispBackgroundPage : Hide Background Page
- NoSecCPL : Disable Password Control Panel
- NoDispAppearancePage : Hide Appearance Page
- NoDispSettingsPage : Hide Settings Page
- NoDevMgrPage : Hide Device Manager Page
- NoConfigPage : Hide Hardware Profiles Page
- NoVirtMemPage : Hide Virtual Memory Button
- NoAdminPage : Hide Remote Administration Page
- NoProfilePage : Hide User Profiles Page
- NoFileSysPage : Hide File System Button
Alternatively, if you want to create a string or edit it without opening Registry Editor, you can just fire up these string in the "run box" :
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\
This can be more easier for you to add or change the value in the Registry Editor. In a long explanation :Policies\Explorer /v DisableRegistryTools /t REG_DWORD /d 0 /f
- REG ADD : adding a registry value
- HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer : It will navigate through this value
- /v DisableRegistryTools : It will create a value named "DisableRegistryTool". This can be change to your desired value that you want to create.
- /t REG_DWORD : And the value created is a "DWORD" value type
- 0 : The boolean is set to "0" [off]. "1" = [on]
- /f : The data will be force overwritten without any
Create Your Own Password Protected Folder
FOLDER LOCK Windows TipsEver had a situation where you want to keep your file secretly. Avoid others from accessing your private data by your own application! Write the codes by yourself. In today how2.0 tutorial, i'll teach you a simple batch [*.bat] file programming, using only your notepad. This program runs under command prompt "CMD". Maybe it's too advance to learn this before you know about the basic of batch [*.bat] file itself. But nevermind, i'll explain the codes for your understanding. Yeah, lets rock the codes!! Here it is :
Step 1
Firstly, i'll explain about the method used in this batch [*.bat] program.
1st method :
Here, we'll use an unique method to create a folder that seen as "control panel". Magic? Yeah. This unique string : Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} ,represent as "control panel" folder. So, if you rename any folder using this string, it will become a "control panel" but actually that is your folder. The is many more unique string such as:
- Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
- Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
- My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
- My Documents.{ECF03A32-103D-11d2-854D-006008059367}
- Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}
2nd method :
We'll change the folder attributes to "system files attribute" and "hidden files attribute" by using "attrib" method that i've explain in my last post. [attrib x:/filename +s +h]
Step 2
Copy & Paste these codes into your notepad [start > run > "notepad"]. These codes combine the two method i've mention above to secure your folder.
cls
@ECHO OFF
title Folder Passworder [Beta Test] by zXara
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
[explanation]
- @ECHO OFF <<- the programs header
- title Folder Passworder [Beta Test] by zXara <<- your program title
- if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK <<- tell CMD to go to :UNLOCK path it the folder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" is exist
- if NOT EXIST Locker goto MDLOCKER <<- tell the CMD to go to :MDLOCKER path if the folder "Locker" does'nt exist
- :CONFIRM <<- Command path
- echo Are you sure u want to Lock the folder(Y/N) <<- tell CMD to print out text "Are you sure u want to Lock the folder(Y/N)" on the screen
- set/p "cho=>" <<- Choice selection
- if %cho%==Y goto LOCK <<- tell CMD to go to :LOCK path if key Y was pressed
- if %cho%==y goto LOCK <<- tell CMD to go to :LOCK path if key y was pressed
- if %cho%==n goto END <<- tell CMD to go to :LOCK path if key n was pressed
- if %cho%==N goto END <<- tell CMD to go to :LOCK path if key N was pressed
- echo Invalid choice. <<- tell CMD to print out text "Invalid choice" on the screen
- goto CONFIRM <<- tell CMD to go to :CONFIRM path
- :LOCK <<- Command path
- ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <<-CMD will rename the "locker" folder to "control panel"
- attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <<- CMD will add "system" & "hidden" file attribute to the folder
- echo Folder locked <<- tell CMD to print out text "Folder locked" on the screen
- goto End <<- tell the CMD to go to :UNLOCK path
- :UNLOCK <<-Command path
- echo Enter password to Unlock folder <<- tell CMD to print out text "Enter password to Unlock folder" on the screen
- set/p "pass=>" <<- Choice selection
- if NOT %pass%== password goto FAIL <<-here it is, if the password is not "password", CMD will move to :FAIL path
- attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <<- CMD will remove "system" & "hidden" file attribute to the folder
- ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker <<-CMD will rename the "control panel" folder to "locker"
- echo Folder Unlocked successfully <<- tell CMD to print out text "Folder Unlocked successfully " on the screen
- goto End< <- tell CMD to go to :END path
- :FAIL <<- Command path
- echo Invalid password <<- tell CMD to print out text "Invalid password" on the screen
- goto END <<- tell the CMD to go to :ENDpath
- :MDLOCKER <<- Command path
- md Locker <<- CDM will create "locker" folder
- echo Locker created successfully <<- tell CMD to print out text "Locker created successfully" on the screen
- goto END <<- tell the CMD to go to :END path
- :END <<- Command path
Ok, By simple explanation, you must change the "password" in line 22 to your own password. You can also change the title name in the 2nd line to your own. Hope you can find this tutorial useful, and, good luck coders :)
Step 3
Now you can save your file as anyfileneme.bat . You can put any name that you want as long as you keep the extension as *.bat. Now you can put your secret data inside the "locker" folder.
note that AVG will detect these commands as a HackTool. So, Make sure u make an exception list for this file to AVG. This why I hate AVG so much ~ daa
Attrib command ( Change attributes of a file or folder)
Useful commands Windows TipsDisplays, sets, or removes attributes assigned to files or directories. If used without parameters, attrib displays attributes of all files in the current directory.
Syntax
attrib [{+|-}r] [{+|-}a] [{+|-}s] [{+|-}h] [{+|-}i] [:][ ][ ] [/s [/d] [/l]]
Parameters
Parameter | Description |
---|---|
{+|-}r | Sets (+) or clears (-) the Read-only file attribute. |
{+|-}a | Sets (+) or clears (-) the Archive file attribute. |
{+|-}s | Sets (+) or clears (-) the System file attribute. |
{+|-}h | Sets (+) or clears (-) the Hidden file attribute. |
{+|-}i | Sets (+) or clears (-) the Not Content Indexed file attribute. |
[ | Specifies the location and name of the directory, file, or group of files for which you want to display or change attributes. You can use the ? and * wildcard characters in the FileName parameter to display or change the attributes for a group of files. |
/s | Applies attrib and any command-line options to matching files in the current directory and all of its subdirectories. |
/d | Applies attrib and any command-line options to directories. |
/l | Applies attrib and any command-line options to the Symbolic Link, rather than the target of the Symbolic Link. |
/? | Displays help at the command prompt. |
Remarks
- You can use wildcard characters (? and *) with the FileName parameter to display or change the attributes for a group of files.
- If a file has the System (s) or Hidden (h) attribute set, you must clear the attribute before you can change any other attributes for that file.
- The Archive attribute (a) marks files that have changed since the last time they were backed up. Note that the xcopycommand uses archive attributes.
Examples
To display the attributes of a file named News86 that is located in the current directory, type:
attrib news86
To assign the Read-only attribute to the file named Report.txt, type:
attrib +r report.txt
To remove the Read-only attribute from files in the Public directory and its subdirectories on a disk in drive B, type:
attrib -r b:\public\*.* /s
To set the Archive attribute for all files on drive A, and then clear the Archive attribute for files with the .bak extension, type:
attrib +a a:*.* & attrib -a a:*.bak